Hi,

In glibc pt-timedblock.c:

   if ((MSG_OPTIONS & MACH_RCV_INTERRUPT) != 0 && err == 
MACH_RCV_INTERRUPTED)
     return EINTR;

But MSG_OPTIONS is defined as 0, so this makes __pthread_timedblock 
uninterruptible?

I am getting mach_msg_trap after mach_msg is sent and then a hang, if 
you look at thread 11 in the previous backtrace.

Is __pthread_timedblock supposed to be uninterruptible until the timeout 
expires?

I can't figure out if pt-timedblock-intr.c is selected or not at compile 
time in glibc.
Both versions seem to be in the htl/Makefile.

Damien



Reply via email to