General
Getting started
Engine
Module
Tutorials
Globals
move_and_collide
move_and_slide
import
bool
int
float
String
Vector2
Rect2
Vector3
Transform2D
Plane
Quat
AABB
Basis
Transform
Color
NodePath
RID
Object
Dictionary
Array
PoolByteArray
PoolIntArray
PoolRealArray
PoolStringArray
PoolVector2Array
PoolVector3Array
PoolColorArray
Development
_set
_get
_get_property_list
Community
Class reference
Inherits: Reference < Object
Category: Core
A synchronization Semaphore.
A synchronization Semaphore. Element used to synchronize multiple Threads. Initialized to zero on creation. Be careful to avoid deadlocks. For a binary version, see Mutex.
Lowers the Semaphore, allowing one more thread in. Returns OK on success, ERR_BUSY otherwise.
Semaphore
Tries to wait for the Semaphore, if its value is zero, blocks until non-zero. Returns OK on success, ERR_BUSY otherwise.