Message163179
> > The implementation for multiprocessing.Condition is virtually the same
> > as Listing 3 which the author says he thinks is "formally correct" but
> > with "a fundamental performance problem".
>
> To me, it seems similar to the last listing (under "The Sequel—NT and
> PThreads"): there's a separate semaphore per waiter, used to wake it up
> when signal() or broadcast() is called.
Ah, you said multiprocessing.Condition. Sorry. I was thinking about
threading.Condition. |
|
Date |
User |
Action |
Args |
2012-06-19 15:07:05 | pitrou | set | recipients:
+ pitrou, loewis, paul.moore, kristjan.jonsson, vstinner, python-dev, sbt |
2012-06-19 15:07:04 | pitrou | link | issue15038 messages |
2012-06-19 15:07:04 | pitrou | create | |
|