This is the mail archive of the cygwin-patches@cygwin.com mailing list for the Cygwin project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
This patch adds support for thread safe stdio. It will add 3 new header files three which supersedes newlib ones. One of these (_types.h) is just a copy of newlibs _types.h with a modified _lock_t. It is not strictly necessary since sizeof(int) == sizeof(void*). This patch makes only sense when my patch for newlib will be accepted. Regards, Thomas 2004-01-12 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_recursive): New function. (__cygwin_lock_fini_recursive): Ditto. (__cygwin_lock_lock_recursive): Ditto. (__cygwin_lock_unlock_recursive): Ditto. (__cygwin_flockfile): Ditto. (__cygwin_funlockfile): Ditto.
Attachment:
cygwin.patch
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |