yyc_semaphore_create

function

yyc_semaphore_create(_name, _initial, _max)

Description

Creates a new semaphore.

Arguments

Name Type Description
_name string The name of the semaphore.
_initial int Initial value of the semaphore.
_max uint Maximum value of the semaphore.

See also

yyc_semaphore_acquire, yyc_semaphore_release

Do you find this page helpful?

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