YYC_Semaphore

constructor

new YYC_Semaphore(_initial, _max)

Description

An OOP wrapper for semaphore functions.

Arguments

Name Type Description
_initial int Initial value of the semaphore.
_max uint Maximum value of the semaphore.

Properties

Name Description
Initial The initial value of the semaphore.
Max The maximum value of the semaphore.
Name The name of the semaphore.

Methods

Name Description
Acquire Blocks until the semaphore is acquired.
Destroy Destroys the semaphore.
Release Releases the acquired semaphore.

See also

yyc_semaphore_acquire, yyc_semaphore_create, yyc_semaphore_destroy, yyc_semaphore_release

Do you find this page helpful?

Copyright © 2021, Patrik Kraif. Built on October 14, 2021 using GMDoc.