MCPcopy Create free account
hub / github.com/F-Stack/f-stack / moduleAcquireGIL

Function moduleAcquireGIL

app/redis-6.2.6/src/module.c:5835–5837  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5833}
5834
5835void moduleAcquireGIL(void) {
5836 pthread_mutex_lock(&moduleGIL);
5837}
5838
5839int moduleTryAcquireGIL(void) {
5840 return pthread_mutex_trylock(&moduleGIL);

Callers 2

afterSleepFunction · 0.85
RM_ThreadSafeContextLockFunction · 0.85

Calls 1

pthread_mutex_lockFunction · 0.85

Tested by

no test coverage detected