MCPcopy Create free account
hub / github.com/GJDuck/e9patch / mutex_fast_unlock

Function mutex_fast_unlock

examples/stdlib.c:1513–1516  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1511}
1512
1513static bool mutex_fast_unlock(pid_t self, pid_t *x)
1514{
1515 return __sync_bool_compare_and_swap(x, self, 0);
1516}
1517
1518struct mutex_s
1519{

Callers 1

mutex_unlockFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected