You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
* Don't need to sleep if queue>sleepers, can just pop the right queue element and return it. * If queue>sleeping and waking==sleeping, no mechanism existed to ensure a thread newly added to sleeping would ever be woken. Above change fixes that. * Cannot trust select() return value, scheduler might sleep us indefinitely while put() writes a byte. * Sleeping threads didn't pop FIFO, they popped in whatever order scheduler woke them up. Must recover index and use it to pick the pop index. |
8 years ago | |
|---|---|---|
| .. | ||
| _static | 8 years ago | |
| _templates | 8 years ago | |
| images | 8 years ago | |
| Makefile | 8 years ago | |
| ansible.rst | 8 years ago | |
| api.rst | 8 years ago | |
| compared.rst | 8 years ago | |
| conf.py | 8 years ago | |
| docs-requirements.txt | 8 years ago | |
| examples.rst | 8 years ago | |
| getting_started.rst | 8 years ago | |
| howitworks.rst | 8 years ago | |
| index.rst | 8 years ago | |
| internals.rst | 8 years ago | |
| pickle-substitutes.ods | 8 years ago | |
| shame.rst | 8 years ago | |
| signals.rst | 8 years ago | |
| toc.rst | 8 years ago | |