Re: Libc thread cancelation safety?

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

 



Dean Anderson <dean@xxxxxxx> writes:

> I have noticed that printf in glibc (glibc 2.3.5, i386) is not pthread
> cancellation safe, though printf on Solaris is cancellation safe.  
> Specifically, canceling a thread in printf leads to deadlock.
>
> What should one expect regarding cancelation safety in standard
> libraries?  Is this a bug in glibc?

This is probably better directed to a glibc mailing list.  See
http://www.gnu.org/software/libc/ .

That said, I doubt that any standard requires that printf be
async-cancel safe.

Ian

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux