Marusama Semaphore

JSON →
library 2.5.0 ·go
verified Jun 17, 2026

Package semaphore provides an implementation of counting semaphore primitive with possibility to change limit after creation, based on Compare-and-Swap for faster performance than channel-based implementations.