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

Function yaml_flock_nointr

src/cli/config_yaml_edit.c:373–379  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

371}
372
373static int yaml_flock_nointr(int descriptor, int operation) {
374 int result = 0;
375 do {
376 result = flock(descriptor, operation);
377 } while (result != 0 && errno == EINTR);
378 return result == 0 ? 0 : YAML_ERROR;
379}
380#endif
381
382static int yaml_lock_acquire(const char *path, yaml_config_lock_t *lock) {

Callers 2

yaml_lock_acquireFunction · 0.85
yaml_lock_releaseFunction · 0.85

Calls 1

flockClass · 0.85

Tested by

no test coverage detected