Semaphore

Inherits: Reference < Object

Category: Core

Brief Description

A synchronization Semaphore.

Member Functions

Error post ( )
Error wait ( )

Description

A synchronization Semaphore. Element used in multi-threadding. Initialized to zero on creation.

Member Function Description

  • Error post ( )

Lowers the Semaphore, allowing one more thread in.

  • Error wait ( )

Tries to wait for the Semaphore, if it’s value is zero, blocks until non-zero.