summaryrefslogtreecommitdiffstats
path: root/setup.py
diff options
context:
space:
mode:
authorEwan Mellor <ewan.mellor@citrix.com>2010-07-25 15:00:37 +0100
committerEwan Mellor <ewan.mellor@citrix.com>2010-07-25 15:00:37 +0100
commit1a53eaeed901f3c789ebdb867b73996ccac608c3 (patch)
treecf3bbf0a06ba4c9966bda7188261868c165ec101 /setup.py
parent7050e7e49e8aad3ff3f5d0060c96ff97d9c2852f (diff)
Fix assertion "Someone released me too many times: too many tokens!" when more
than one process was running at the same time. This was caused by the override of SharedPool.__new__ not stopping ProcessPool.__init__ from being run whenever process.simple_execute is called. When __init__ ran for the second time, the DeferredSemaphore was replaced, and this meant that we ended up releasing a different semaphore to the one that was acquired.
Diffstat (limited to 'setup.py')
0 files changed, 0 insertions, 0 deletions