Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/davisking/dlib
/ lock
Method
lock
dlib/threads/threads_kernel_2.h:58–59 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
56
) { pthread_mutex_destroy(&myMutex); }
57
58
void lock (
59
) const { pthread_mutex_lock(&myMutex); }
60
61
void unlock (
62
) const { pthread_mutex_unlock(&myMutex); }
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected