Raymond Hettinger added the comment: For reference, here is the Java API for a Semaphore ( http://docs.oracle.com/javase/1.5.0/docs/api/java/util/concurrent/Semaphore.html ):
Semaphore --------- public Semaphore(int permits) Creates a Semaphore with the given number of permits and nonfair fairness setting. Parameters: permits - the initial number of permits available. This value may be negative, in which case releases must occur before any acquires will be granted. ---------- _______________________________________ 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