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 dabeaz
Recipients beazley, dabeaz, flox, kristjan.jonsson, loewis, pitrou, r.david.murray, techtonik, torsten
Date 2010-04-15.17:09:56
SpamBayes Score 3.1952646e-10
Marked as misclassified No
Message-id <1271351398.54.0.516494416296.issue8299@psf.upfronthosting.co.za>
In-reply-to
Content
I hope everyone realizes that all of this bike-shedding about emulated semaphores versus "real" semaphores is mostly a non-issue.  For one thing,  go look at how a "real" semaphore is implemented by reading the source code to pthreads or some other thread library.  You'll find that semaphores are implemented using the exact same mechanisms that underly condition variables and in some cases, are actually implemented using a mutex lock and a condition variable exactly as Python is doing.

Second, the performance of using "real" semaphores still sucks.   So, all of the arguing about "fairness" and whatnot seems to be a total waste of time in my opinion because it doesn't address the underlying problem.
History
Date User Action Args
2010-04-15 17:09:58dabeazsetrecipients: + dabeaz, loewis, beazley, pitrou, kristjan.jonsson, techtonik, r.david.murray, flox, torsten
2010-04-15 17:09:58dabeazsetmessageid: <1271351398.54.0.516494416296.issue8299@psf.upfronthosting.co.za>
2010-04-15 17:09:56dabeazlinkissue8299 messages
2010-04-15 17:09:56dabeazcreate