protect sem_open against cancellation
authorRich Felker <dalias@aerifal.cx>
Sun, 30 Sep 2012 23:44:45 +0000 (19:44 -0400)
committerRich Felker <dalias@aerifal.cx>
Sun, 30 Sep 2012 23:44:45 +0000 (19:44 -0400)
commite44849f5cf331e655705b18d6c81c616e29d50d0
tree011adb2a2c4406bc94564e7c99c43569e87e4191
parentbf258341b71711461ce19891674d43c135827d0e
protect sem_open against cancellation

also fix one minor bug: failure to free the early-reserved slot when
the semaphore later found to already be mapped.
src/thread/sem_open.c