mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +00:00
The main problem was that an unluckily timed task cancellation could cause the semaphore to be stuck. There were also doubts about strict FIFO ordering of tasks allowed to pass. The Semaphore implementation was rewritten to be more similar to Lock. Many tests for edge cases (including cancellation) were added. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| __main__.py | ||
| echo.py | ||
| echo2.py | ||
| echo3.py | ||
| functional.py | ||
| test_base_events.py | ||
| test_buffered_proto.py | ||
| test_context.py | ||
| test_events.py | ||
| test_futures.py | ||
| test_futures2.py | ||
| test_locks.py | ||
| test_pep492.py | ||
| test_proactor_events.py | ||
| test_protocols.py | ||
| test_queues.py | ||
| test_runners.py | ||
| test_selector_events.py | ||
| test_sendfile.py | ||
| test_server.py | ||
| test_sock_lowlevel.py | ||
| test_ssl.py | ||
| test_sslproto.py | ||
| test_streams.py | ||
| test_subprocess.py | ||
| test_taskgroups.py | ||
| test_tasks.py | ||
| test_threads.py | ||
| test_timeouts.py | ||
| test_transports.py | ||
| test_unix_events.py | ||
| test_waitfor.py | ||
| test_windows_events.py | ||
| test_windows_utils.py | ||
| utils.py | ||