Re: [PATCH glibc-2.44] Fix __pthread_timedblock for hurd
Samuel Thibault <[email protected]>
| Newsgroups | gmane.os.hurd.bugs |
|---|---|
| Organization | I am not organized |
| Message-ID | <aoq9d5kBo5fok0mU@end> |
Damien Zammit, le dim. 23 août 2026 09:26:25 +0000, a ecrit: > On Sunday, 08/23/26 at 19:11 Samuel Thibault <[email protected]> wrote:. > > > Or probably simpler: make __pthread_timedblock always pass > MACH_RCV_INTERRUPT to __mach_msg, but loop around if it returns EINTR > and MACH_RCV_INTERRUPT was not in MSG_OPTIONS. > > Sorry I'm not understanding that. If pthread timedblock always passes MACH_RCV_INTERRUPT how can it not be an option? It depends if it's __pthread_timedblock that is getting compiled, or __pthread_timedblock_intr, see sysdeps/mach/htl/pt-timedblock-intr.c Samuel