Re: [PATCH glibc-2.44] Fix __pthread_timedblock for hurd

Sergey Bugaev <[email protected]>
Newsgroups gmane.os.hurd.bugs
Message-ID <CAN9u=HcSoa_2rEN=Acm+OTJapRSBet509EVdbyiFZJoovhXoNA@mail.gmail.com>
pthread_cond_timedwait and pthread_cond_clockwait both take absolute time.

But they are allowed to return spuriously, so I would say they should
probably return upon MACH_RCV_INTERRUPTED (i.e. taking a Unix signal).
Returning from these functions basically means, something might have
changed, re-check the condition and only block again if you still want
to.

Sergey
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.