diff options
author | Rich Felker <dalias@aerifal.cx> | 2015-02-27 23:25:45 -0500 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2015-02-27 23:25:45 -0500 |
commit | 76ca7a5446a8aec2b671a401d5e1878c4704754e (patch) | |
tree | f28de9c011b65effa19b419bd923686a14efc500 /src/thread/mtx_trylock.c | |
parent | e346ff86c8faee901a7c2d502b5beb983b99f972 (diff) | |
download | musl-76ca7a5446a8aec2b671a401d5e1878c4704754e.tar.gz |
fix failure of internal futex __timedwait to report ECANCELED
as part of abstracting the futex wait, this function suppresses all
futex error values which callers should not see using a whitelist
approach. when the masked cancellation mode was added, the new
ECANCELED error was not whitelisted. this omission caused the new
pthread_cond_wait code using masked cancellation to exhibit a spurious
wake (rather than acting on cancellation) when the request arrived
after blocking on the cond var.
Diffstat (limited to 'src/thread/mtx_trylock.c')
0 files changed, 0 insertions, 0 deletions