Message190594
> I'm not convinced it's really useful.
It doesn't seem a lot useful until you *really* need it. I've got 2 highly parallel programs that took advantage of this pattern.
> the wait is O(C) (appending to C wait queues) and wakeup
> is O(CT) (C removal from a T-length deque).
That's another thing that I wanted to address, but I didn't want to change the data structure in this patch.
The complexity for `notify` and `notify_all` is the same as before. |
|
Date |
User |
Action |
Args |
2013-06-04 11:01:26 | JBernardo | set | recipients:
+ JBernardo, rhettinger, pitrou, neologix, sbt |
2013-06-04 11:01:26 | JBernardo | set | messageid: <1370343686.8.0.625095757928.issue18078@psf.upfronthosting.co.za> |
2013-06-04 11:01:26 | JBernardo | link | issue18078 messages |
2013-06-04 11:01:26 | JBernardo | create | |
|