TSemaphoreType
PackageAxial
A transactional semaphore, built from a transactional reference.
Specification
Kind
Type
Members
4
Examples
0
makeSignature
TSemaphore.make permits
acquireSignature
TSemaphore.acquire semaphore
releaseSignature
TSemaphore.release semaphore
availableSignature
TSemaphore.available semaphore
Summary
| Name | Signature | Synopsis |
|---|---|---|
| Operations | ||
| make | TSemaphore.make permits | Creates a transactional semaphore with the supplied initial permits. |
| acquire | TSemaphore.acquire semaphore | Acquires a permit, retrying until one is available. |
| release | TSemaphore.release semaphore | Releases a permit. |
| available | TSemaphore.available semaphore | Returns the number of available permits. |

