Message194443
FWIW, I don't support adding this functionality. I don't see precedents for Condition Variables behaving this way in other languages. Also, I don't think it is worth the added complexity, learning curve, and maintenance burden. Condition variables are used as primitive for other mutexes and I think we ought to keep them somewhat simple.
If someone wants to notify a specific waiter, then they have other options such as using a separate condition variable that shares the same underlying lock (much as the code in the queue module does). That approach is easy to reason about. |
|
Date |
User |
Action |
Args |
2013-08-05 01:48:09 | rhettinger | set | recipients:
+ rhettinger, pitrou, neologix, sbt, JBernardo |
2013-08-05 01:48:09 | rhettinger | set | messageid: <1375667289.1.0.153864522958.issue18078@psf.upfronthosting.co.za> |
2013-08-05 01:48:09 | rhettinger | link | issue18078 messages |
2013-08-05 01:48:08 | rhettinger | create | |
|