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 Mutex.
A synchronization Mutex. Element used to synchronize multiple Threads. Basically a binary Semaphore. Guarantees that only one thread can ever acquire this lock at a time. Can be used to protect a critical section. Be careful to avoid deadlocks.
Lock this Mutex, blocks until it is unlocked by the current owner.
Mutex
Try locking this Mutex, does not block. Returns OK on success, ERR_BUSY otherwise.
Unlock this Mutex, leaving it to other threads.