diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2016-08-20 11:23:08 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2016-09-15 11:14:25 -0300 |
commit | 91dd866ff1801b27e1db1e14a52eb89a213627e6 (patch) | |
tree | 05093e97e9c7ba82bc6ac393f27f96b27ecf6f93 /nptl/pthread_testcancel.c | |
parent | 980d25d53e748abd3365aeec0a1ccd1316b4e6d6 (diff) | |
download | glibc-91dd866ff1801b27e1db1e14a52eb89a213627e6.tar.gz glibc-91dd866ff1801b27e1db1e14a52eb89a213627e6.tar.xz glibc-91dd866ff1801b27e1db1e14a52eb89a213627e6.zip |
nptl: Set sem_open as a non cancellation point (BZ #15765)
This patch changes sem_open to not act as a cancellation point. Cancellation is disable at start and reenable in function exit. It fixes BZ #15765. Tested on x86_64 and i686. [BZ #15765] * nptl/Makefile (tests): Add tst-sem16. * nptl/tst-sem16.c: New file. * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
Diffstat (limited to 'nptl/pthread_testcancel.c')
0 files changed, 0 insertions, 0 deletions