Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/GJDuck/e9patch
/ mutex_init
Function
mutex_init
examples/stdlib.c:1534–1538 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1532
}
1533
1534
static void mutex_init(mutex_t *m)
1535
{
1536
mutex_t m0 = MUTEX_INITIALIZER;
1537
memcpy(m, &m0, sizeof(struct mutex_s));
1538
}
1539
1540
static pid_t *mutex_get_ptr(const mutex_t *m)
1541
{
Callers
1
pool_create
Function · 0.85
Calls
1
memcpy
Function · 0.85
Tested by
no test coverage detected