mirror of
https://github.com/golang/go
synced 2024-11-26 04:58:00 -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:
parent
22ea3f9e49
commit
3ff5e727e2
@ -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");
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user