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

Function windows_lock_exclusive

src/daemon/service.c:912–915  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

910}
911
912static bool windows_lock_exclusive(HANDLE file, OVERLAPPED *range) {
913 memset(range, 0, sizeof(*range));
914 return LockFileEx(file, LOCKFILE_EXCLUSIVE_LOCK, 0, 1, 0, range) != 0;
915}
916
917static bool windows_complete_write(HANDLE file, const char *record, size_t length,
918 LARGE_INTEGER original_size) {

Callers 1

windows_log_appendFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected