This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
On 02/02/2018 06:04 PM, Adhemerval Zanella wrote:
2. thrd_sleep uses nanosleep internal direct syscall to avoid clobbering
errno, to handle expected standard return codes, and to avoid making
the call a POSIX cancellation entrypoint.
Isn't this inconsistent with the conditional variable wait and thread join functions, which are still cancellation points?
On the other hand, a sleep function which is not a cancellation point may be useful.
Thanks, Florian
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |