1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-26 04:00:59 +01:00

Recursive build error.... *2

This commit is contained in:
Wouter den Breejen 2007-10-12 10:05:17 +00:00
parent 65ba1f3008
commit 0ee803935e
12 changed files with 97 additions and 56 deletions

View file

@ -702,7 +702,12 @@ static void processConnection()
while (true) {
WorkerOp op;
try {
op = (WorkerOp) readInt(from);
int oppp = readInt(from);
op = (WorkerOp) oppp;
if(oppp == 14){
printMsg(lvlError, format("Sleeping 10"));
sleep(10);
}
} catch (EndOfFile & e) {
break;
}
@ -710,7 +715,7 @@ static void processConnection()
opCount++;
try {
printMsg(lvlInfo, format("Processing op '%1%'") % op);
printMsg(lvlInfo, format("Processing op '%1%' with pid '%2%'") % op % myPid);
performOp(from, to, op);
printMsg(lvlInfo, format("Processed op '%1%'") % op);
} catch (Error & e) {