blob: a50c04782a65be9056041bb769d93ab0dd790229 [file] [log] [blame]
import multiprocessing
_context = None
def get_context():
global _context
if _context is None:
_context = multiprocessing.get_context("spawn")
return _context