Antoine Pitrou added the comment: We already have a Barrier class actually: http://docs.python.org/dev/library/threading.html#barrier-objects
As for accepting negative initialization values, it sounds like a reasonable request. One reason for rejecting would be if it makes writing a fast implementation harder. Also, multiprocessing.Semaphore should be kept compatible with threading.Semaphore. ---------- nosy: +neologix, sbt _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue17374> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com