diff options
| author | Alex Moon <[email protected]> | 2024-04-03 19:13:57 -0400 |
|---|---|---|
| committer | Alex Moon <[email protected]> | 2024-04-03 19:13:57 -0400 |
| commit | c9acebf783c64784fe6b659a94b40fa080b6fbe8 (patch) | |
| tree | 1b57c9e0b2046615b08bce88d290506aa4b1767f /examples | |
| parent | 1fd260e4b1f875ba71c40a732a606bf487165750 (diff) | |
Fix `FairSemaphore` bugs
- `acquire` and `acquire_all` futures were `!Send`, even for `M: RawMutex + Send` due to the captured `Cell`.
- If multiple `acquire` tasks were queued, waking the first would not wake the second, even if there were permits remaining after the first `acquire` completed.
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions
