aboutsummaryrefslogtreecommitdiff
path: root/misc/zsh/completion.zsh
diff options
context:
space:
mode:
authoreldritch horrors <pennae@lix.systems>2024-09-24 00:21:16 +0200
committereldritch horrors <pennae@lix.systems>2024-09-26 16:32:02 +0000
commitca9256a789b413b71f424405c8a0d7d37ca36696 (patch)
tree10cefd166045faada804d94104651b746c35a036 /misc/zsh/completion.zsh
parent4b66e1e24f4952a2e96d680c6b37de2c2c1c76d1 (diff)
libutil: add an async semaphore implementation
like a normal semaphore, but with awaitable acquire actions. this is primarily intended as an intermediate concurrency limiting device in the Worker code, but it may find other uses over time. we do not use std::counting_semaphore as a base because the counter of that is not inspectable as will be needed for Worker. we also do not need atomic operations for cross-thread consistency since we don't have multiple threads (thanks to kj event loops being confined to a single thread) Change-Id: Ie2bcb107f3a2c0185138330f7cbba4cec6cbdd95
Diffstat (limited to 'misc/zsh/completion.zsh')
0 files changed, 0 insertions, 0 deletions