[PATCH-RFC]: cancellation-safe(r) STDIO streams.

Guillaume Autran gautran at mrv.com
Fri Oct 28 16:48:16 UTC 2005


This patch fixes the stdio stream locking issue that happen when a thread gets 
cancel while printing to an iostream. At that point, the iostream lock would 
never be released.

The patch implements deferred cancellation + cleanup_push/cleanup_pop before and 
after the iostream locking takes place.


Guillaume.


-- 
=======================================
Guillaume Autran
Senior Software Engineer
MRV Communications, Inc.
Tel: (978) 952-4932 office
=======================================
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: uclibc-stdio-cancel-safe.patch
Url: http://lists.busybox.net/pipermail/uclibc/attachments/20051028/53ff2899/attachment.diff 


More information about the uClibc mailing list