-
-
Notifications
You must be signed in to change notification settings - Fork 660
Closed
Description
Consider this script gap_race.sage
:
from multiprocessing import Process
import time
def rungap():
gap("42")
P = [Process(target=rungap) for i in range(4)]
for p in P:
p.start()
time.sleep(0.1)
When executing with ./sage --nodotsage gaprace.sage
, this should run without producing errors. But it doesn't, due to race conditions in gap_reset_workspace()
.
CC: @vbraun
Component: interfaces
Author: Jeroen Demeyer
Reviewer: Volker Braun
Merged: sage-5.9.beta0
Issue created by migration from https://trac.sagemath.org/ticket/14242