Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Redot-Engine/redot-engine
/ lock
Method
lock
core/core_bind.cpp:1457–1459 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1455
////// Mutex //////
1456
1457
void Mutex::lock() {
1458
mutex.lock();
1459
}
1460
1461
bool Mutex::try_lock() {
1462
return mutex.try_lock();
Callers
5
_thread
Method · 0.45
_iterate
Method · 0.45
ThreadWork
Method · 0.45
thread_wait_for_work
Method · 0.45
main_wait_for_done
Method · 0.45
Calls
no outgoing calls
Tested by
3
ThreadWork
Method · 0.36
thread_wait_for_work
Method · 0.36
main_wait_for_done
Method · 0.36