Re: signal(7): why does it say that pthread_mutex_lock() and thread_cond_wait() can fail with EINTR?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* Alejandro Colomar:

>> The underlying futex() call indeed fails with EINTR but it's called
>> again by both glibc and musl.
>
> I've CCed glibc, in case they can comment.  Maybe this behavior changed
> at some point in the past?  I don't know.

Maybe in the LinuxThreads implementation.  I think NPTL has handled this
correctly from the beginning.  POSIX bans the EINTR failure condition.

Thanks,
Florian





[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux