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]

 



Hi Florian, Arkadiusz,

On Thu, Jan 02, 2025 at 10:53:57AM +0100, Florian Weimer wrote:
> * 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!

Arkadiusz, would you do the honours writing a patch?  Should I?

Have a lovely new year!
Alex

> 
> Thanks,
> Florian
> 

-- 
<https://www.alejandro-colomar.es/>

Attachment: signature.asc
Description: PGP signature


[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