MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / private_flock_set

Function private_flock_set

src/foundation/private_file_lock.c:227–233  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

225}
226
227static int private_flock_set(int fd, int operation) {
228 int result;
229 do {
230 result = flock(fd, operation);
231 } while (result != 0 && errno == EINTR);
232 return result;
233}
234
235static int private_release_unlock(cbm_private_file_lock_t *lock) {
236 lock->test_unlock_attempts++;

Callers 2

private_release_unlockFunction · 0.85

Calls 1

flockClass · 0.85

Tested by

no test coverage detected