Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MayaPosch/NymphCast
/ lock
Method
lock
src/server/lcdapi/api/LCDMutex.cpp:36–41 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
34
}
35
36
void LCDMutex::lock() {
37
if (_owner != std::this_thread::get_id()) {
38
_mutex.lock();
39
_owner = std::this_thread::get_id();
40
}
41
}
42
43
void LCDMutex::unlock() {
44
_mutex.unlock();
Callers
15
Java_com_nyanko_nymphcastplayer_NymphCast_findServers
Function · 0.80
Java_com_nyanko_nymphcastplayer_NymphCast_connectServer
Function · 0.80
main
Function · 0.80
main
Function · 0.80
main
Function · 0.80
setTitle
Method · 0.80
getTitle
Method · 0.80
setArtist
Method · 0.80
getArtist
Method · 0.80
setAlbum
Method · 0.80
getAlbum
Method · 0.80
run
Method · 0.80
Calls
no outgoing calls
Tested by
8
main
Function · 0.64
main
Function · 0.64
setTitle
Method · 0.64
getTitle
Method · 0.64
setArtist
Method · 0.64
getArtist
Method · 0.64
setAlbum
Method · 0.64
getAlbum
Method · 0.64