Sujet : Re: OT: Windows (Was: Re: Open Source does not mean easily
De : ldo (at) *nospam* nz.invalid (Lawrence D'Oliveiro)
Groupes : comp.unix.programmerDate : 08. Jan 2025, 03:36:56
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vlkoc8$2fte8$6@dont-email.me>
References : 1 2 3 4 5 6 7
User-Agent : Pan/0.161 (Chasiv Yar; )
On 07 Jan 2025 08:59:28 GMT, Nicolas George wrote:
Lawrence D'Oliveiro , dans le message <vli2lj$1t3lt$8@dont-email.me>, a
écrit :
>
Linux offers signalfd, so you can indeed use poll(2) in a thread to be
woken up by any file descriptor, including a signal one (and that
includes POSIX real-time signals).
Proving my point that you need to use poll() even when doing threads.
But you said “it is not possible to poll() on a thread condition”, when it
fact such usage is commonplace, as I pointed out.