Re: [PATCH] pselect: Use linux pselect syscall when available
Waldemar Brodkorb <[email protected]> Thu, 17 Dec 2015 21:05:48 +0100
| Newsgroups | gmane.comp.lib.uclibc.general |
|---|---|
| Message-ID | <[email protected]> |
Hi Nicolas, Nicolas S. Dade wrote, > Linux has a pselect syscall since 2.6.something. Using it > rather than emulating it with sigprocmask+select+sigprocmask > is smaller code, and works properly. (The emulation has > race conditions when unblocked signals arrive before or > after the select) Did you see the race condition in real code or do you have a testcase for it? best regards Waldemar