mirror of
https://github.com/NixOS/nix
synced 2025-06-28 17:51:15 +02:00
Merge pull request #981 from shlevy/build-remote-c++
build-remote: Implement in C++
This commit is contained in:
commit
8af062f372
12 changed files with 334 additions and 30 deletions
|
@ -54,6 +54,8 @@ bool lockFile(int fd, LockType lockType, bool wait)
|
|||
checkInterrupt();
|
||||
if (errno != EINTR)
|
||||
throw SysError(format("acquiring/releasing lock"));
|
||||
else
|
||||
return false;
|
||||
}
|
||||
} else {
|
||||
while (fcntl(fd, F_SETLK, &lock) != 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue