Skip to content

Commit 9948080

Browse files
committed
default to spawning subprocesses in multiprocessing
1 parent e6787a7 commit 9948080

File tree

1 file changed

+3
-0
lines changed
  • graalpython/lib-python/3/multiprocessing

1 file changed

+3
-0
lines changed

graalpython/lib-python/3/multiprocessing/context.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -311,6 +311,9 @@ def _check_available(self):
311311
'forkserver': ForkServerContext(),
312312
}
313313
_default_context = DefaultContext(_concrete_contexts['fork'])
314+
# BEGIN TRUFFLE PATCH
315+
_default_context = DefaultContext(_concrete_contexts['spawn'])
316+
# END TRUFFLE PATCH
314317

315318
else:
316319

0 commit comments

Comments
 (0)