消息 [163177]
> 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. |
|
| 日期 |
用户 |
动作 |
参数 |
| 2012-06-19 15:06:00 | pitrou | 修改 | recipients:
+ pitrou, loewis, paul.moore, kristjan.jonsson, vstinner, python-dev, sbt |
| 2012-06-19 15:05:59 | pitrou | 链接 | issue15038 messages |
| 2012-06-19 15:05:57 | pitrou | 创建 | |
|