1
0
mirror of https://github.com/golang/go synced 2024-11-26 04:07:59 -07:00

fix bug in CL 30057: missed if+continue in one place.

R=gri
DELTA=2  (2 added, 0 deleted, 0 changed)
OCL=32214
CL=32223
This commit is contained in:
Russ Cox 2009-07-27 10:59:59 -07:00
parent 22ea3f9e49
commit 3ff5e727e2

View File

@ -409,6 +409,8 @@ mach_semdestroy(uint32 sem)
m.tx.semaphore.type = 0;
while((r = machcall(&m.tx.h, sizeof m, 0)) != 0){
if(r == KERN_ABORTED) // interrupted
continue;
macherror(r, "semaphore_destroy");
}
}