Semaphore
graph BT
N1["Semaphore"] -->|inherits| N2["Any"];
Characteristics
Quality |
Value |
Inherits |
global.Any |
Extends |
N/A |
Decorators |
#sealed; |
Is enum |
false |
Is sealed |
true |
Is extern |
false |
Is abstract |
false |
Is generator |
false |
Has value semantics |
false |
Has stored properties |
true |
Should register destructor |
true |
Has atomic memory |
false |
Is copy assignable |
false |
Is zero initializable |
false |
Methods
construct
construct (s strictly @Self, init_count UInt64 = 0) -> Self
wait
#Gambol.function.noinline
wait (s @Self) -> Nil
try_wait
#Gambol.function.localinline
try_wait (s @Self) -> Bool
try_wait_for
#Gambol.function.noinline
try_wait_for (s @Self, duration Time) -> Bool
try_wait_until
#Gambol.function.noinline
try_wait_until (s @Self, time Time) -> Bool
signal
#Gambol.function.noinline
signal (s @Self, num NInt = 1) -> Nil
Properties
__count
__ptr