MCPcopy Create free account
hub / github.com/ioi/isolate / lock_write

Function lock_write

isolate.c:142–148  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

140static struct lock_record lock;
141
142static void
143lock_write(void)
144{
145 int n = pwrite(lock_fd, &lock, sizeof(lock), 0);
146 if (n != sizeof(lock))
147 die("Cannot write lock file: %m");
148}
149
150static bool
151lock_box(bool is_init, bool is_cleanup)

Callers 2

lock_boxFunction · 0.85
initFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…