Semaphore

    Category: Core

    A synchronization Semaphore. Element used to synchronize multiple s. Initialized to zero on creation. Be careful to avoid deadlocks. For a binary version, see Mutex.

    • post ( )

    Tries to wait for the Semaphore, if its value is zero, blocks until non-zero. Returns @GlobalScope.OK on success, otherwise.