homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author sbt
Recipients anacrolix, sbt
Date 2012年02月20日.17:16:38
SpamBayes Score 1.0959939e-06
Marked as misclassified No
Message-id <1329758200.38.0.396713097749.issue14059@psf.upfronthosting.co.za>
In-reply-to
Content
Here is an initial implementation. Differences from threading.Barrier:
- I have not implemented reset().
- wait() returns 0 or -1. One thread returns 0, the remainder return -1.
 This is different to threading.Barrier where each of the N threads 
 returns a unique index in range(N).
- I added an "action_args" parameter to the constructor. This is a tuple 
 which provides argument to the "action" callback. (This is because closures
 are not picklable, making no-argument callbacks rather limiting for 
 multiprocessing.)
History
Date User Action Args
2012年02月20日 17:16:40sbtsetrecipients: + sbt, anacrolix
2012年02月20日 17:16:40sbtsetmessageid: <1329758200.38.0.396713097749.issue14059@psf.upfronthosting.co.za>
2012年02月20日 17:16:39sbtlinkissue14059 messages
2012年02月20日 17:16:39sbtcreate

AltStyle によって変換されたページ (->オリジナル) /