Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/alibaba/PhotonLibOS
/ foreground_unlock
Method
foreground_unlock
thread/thread.cpp:521–523 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
519
return true;
520
}
521
void foreground_unlock() {
522
foreground_locked.store(false, std::memory_order_release);
523
}
524
void background_unlock() {
525
background_locked.store(false, std::memory_order_release);
526
}
Callers
1
~AtomicRunQ
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected