Deadfinder::RequestPermits
Counting semaphore over a buffered channel: a slot is taken by sending
(which blocks once size are outstanding) and given back by receiving.
No fiber ever holds a slot while waiting on anything else — not on another
fiber's in-flight request, not on a second slot — so the pool cannot
deadlock no matter how many targets pile up behind it.
Constructors
Instance methods
acquire
Sourcesize
Source