IRC channel logs
2026-08-21.log
back to list of logs
<damo22>__pthread_timedblock is not interruptable until the timeout <damo22>it does not set MACH_RCV_INTERRUPT in the options <damo22>sneek: later tell youpi __pthread_timedblock send a mach_msg without setting MACH_RCV_INTERRUPT, therefore is uninterruptible until the timeout expires: #1 0x0000000001087a0d in __GI___mach_msg (msg=msg@entry=0x3fc2cc0, option=option@entry=0x102, send_size=send_size@entry=0x0, rcv_size=rcv_size@entry=0x20, rcv_name=0x30, timeout=0x32, notify=0x0) at ./mach/msg.c:111 <rsmarples>damo22: somewhat related - mach_msg with MACH_RCV_INTERRUPT cannot be interrupted with pthread_cancel <rsmarples>i had to set the cancellation type to PTHREAD_CANCEL_ASYNCHRONOUS and deal with teardown more gracefully as a result.