Message163154
| Author | sbt |
|---|---|
| Recipients | kristjan.jonsson, loewis, paul.moore, pitrou, python-dev, sbt, vstinner |
| Date | 2012-06-19.09:57:05 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1340099826.78.0.984175846032.issue15038@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
The old version was
243 __inline static void _cond_signal(COND_T *cond) {
244 /* NOTE: This must be called with the mutex held */
245 if (cond->n_waiting > 0) {
246 if (!ReleaseSemaphore(cond->sem, 1, NULL))
247 Py_FatalError("ReleaseSemaphore() failed");
248 --cond->n_waiting;
249 }
250 }
So the test should be "if (cv->waiting > 0)" not "if (cv->waiting)". |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2012-06-19 09:57:06 | sbt | set | recipients: + sbt, loewis, paul.moore, pitrou, kristjan.jonsson, vstinner, python-dev |
| 2012-06-19 09:57:06 | sbt | set | messageid: <1340099826.78.0.984175846032.issue15038@psf.upfronthosting.co.za> |
| 2012-06-19 09:57:06 | sbt | link | issue15038 messages |
| 2012-06-19 09:57:05 | sbt | create | |