[PATCH]: 2. Thread safe stdio update

Thomas Pfaff tpfaff@gmx.net
Thu Jan 22 21:06:00 GMT 2004

This is an update of my previous patch. It adds support for newlibs 
__LOCK_INIT macro.


2004-01-22 Thomas Pfaff <tpfaff@gmx.net>

	* include/sys/_types.h: New file.
	* include/sys/lock.h: Ditto.
	* include/sys/stdio.h: Ditto.
	* thread.cc: Include sys/lock.h
	(__cygwin_lock_init): New function.
	(__cygwin_lock_init_recursive): Ditto.
	(__cygwin_lock_fini): Ditto.
	(__cygwin_lock_lock): Ditto.
	(__cygwin_lock_unlock): Ditto.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cygwin.patch
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20040122/4f6927e0/attachment.ksh>

More information about the Cygwin-patches mailing list