src/winsup/cygwin ChangeLog path.cc thread.cc

cgf@cygwin.com cgf@cygwin.com
Fri Mar 26 20:02:00 GMT 2004


CVSROOT:	/cvs/src
Module name:	src
Changes by:	cgf@sourceware.org	2004-03-26 20:02:02

Modified files:
	winsup/cygwin  : ChangeLog path.cc thread.cc 

Log message:
	* path.cc (path_conv::check): Use 'strchr' rather than 'strrchr' to find end of
	string, for efficiency.
	* include/cygwin/_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_trylock): Ditto.
	(__cygwin_lock_unlock): Ditto.
	(pthread::atforkprepare): Lock file pointer before fork.
	(pthread::atforkparent): Unlock file pointer after fork.
	(pthread::atforkchild): Ditto.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.2376&r2=1.2377
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/path.cc.diff?cvsroot=src&r1=1.290&r2=1.291
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/thread.cc.diff?cvsroot=src&r1=1.163&r2=1.164



More information about the Cygwin-cvs mailing list