Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/alibaba/PhotonLibOS
/ mutex_lock
Function
mutex_lock
thread/thread.cpp:1794–1796 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1792
do_mutex_unlock(this);
1793
}
1794
int mutex_lock(void* arg) {
1795
return ((mutex*)arg)->lock();
1796
}
1797
int spinlock_lock(void* arg) {
1798
return ((spinlock*)arg)->lock();
1799
}
Callers
nothing calls this directly
Calls
1
lock
Method · 0.45
Tested by
no test coverage detected