DescriptionWorkaround for borked sem_init library function.
This adds a workaround that zeroes out semaphores before they are
initialized. Some versions of sem_init (e.g. GLIBC_2.0) fail to fully
zero out the semaphore, leading to {errno == ENOSYS} with subsequent
sem_timedwait calls.
R=machenbach@chromium.org
BUG=chromium:536813
LOG=n
Committed: https://crrev.com/263340113713db788e56abda61062dd9513b9f79
Cr-Commit-Position: refs/heads/master@{#31232}
Patch Set 1 #Patch Set 2 : Rebased. #
Messages
Total messages: 6 (1 generated)
|