MCPcopy Create free account
hub / github.com/f9micro/f9-kernel / pthread_mutex_lazy_init

Function pthread_mutex_lazy_init

user/lib/posix/pthread.c:797–828  ·  view source on GitHub ↗

Internal: Initialize mutex if using static initializer. * Uses global spinlock to prevent race between concurrent lazy inits. */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

pthread_mutex_lockFunction · 0.85
pthread_mutex_trylockFunction · 0.85
pthread_mutex_timedlockFunction · 0.85

Calls 2

spinlock_acquireFunction · 0.70
spinlock_releaseFunction · 0.70

Tested by

no test coverage detected