4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-02-16 14:09:21 +08:00
Corinna Vinschen 4aa28d8ae2 * libc/stdio/local.h (_newlib_flockfile_start): New macro to
secure stream related critical section against thread cancellation.
	(_newlib_flockfile_exit): Ditto.
	(_newlib_sfp_lock_end): Ditto.
	(_newlib_sfp_lock_start): Ditto for the list of streams.
	(_newlib_sfp_lock_exit): Ditto.
	(_newlib_sfp_lock_end): Ditto.
	Use aforementioned macros in place of _flockfile/_funlockfile
	and __sfp_lock_acquire/__sfp_lock_release throughout the code.
	* libc/stdio/fclose.c: Explicitely disable and re-enable thread
	cancellation.  Explain why.
	* libc/stdio/freopen.c: Ditto.
	* libc/stdio64/freopen64.c: Ditto.
2012-05-30 08:58:42 +00:00
..
2007-06-04 18:10:17 +00:00
2007-03-15 18:40:48 +00:00
2009-07-03 11:58:04 +00:00
2010-07-19 18:21:11 +00:00
2009-07-03 11:58:04 +00:00
2011-06-14 03:56:05 +00:00