newlib/winsup
Robert Collins d288c1c78c 2002-06-25 Thomas Pfaff <tpfaff@gmx.net>
* include/pthread.h (PTHREAD_CANCELED): Defined a reasonable
        value.
	* pthread.cc (pthread_exit): Call method instead of function.
	(pthread_setcancelstate): Ditto.
	(pthread_setcanceltype): Ditto.
	(pthread_testcancel): Ditto.
	* thread.h (pthread::cancel_event): New member.
        (__pthread_cancel_self): New prototype.
	(pthread::exit): New Method.
	(pthread::cancel): Ditto.
	(pthread::testcancel): Ditto.
	(pthread::cancel_self): Ditto.
	(pthread::static_cancel_self): Ditto.
	(pthread::setcancelstate): Ditto.
	(pthread::setcanceltype): Ditto.
	(__pthread_cancel): Give c++ linkage.
	(__pthread_exit): Remove.
	(__pthread_setcancelstate): Ditto.
	(__pthread_setcanceltype): Ditto.
	(__pthread_testcancel): Ditto.
	 * thread.cc (pthread::pthread): Inititialize cancel_event.
	(pthread::~pthread): Close cancel_event if needed.
	(pthread::create): Create cancel_event.
	(pthread::exit): New method. Replacement for __pthread_exit.
	(pthread::cancel): New method.
	(pthread::testcancel): Ditto.
	(pthread::static_cancel_self); New static method.
	(pthread::setcancelstate): New method. Replacement for
	__pthread_setcancelstate.
	(pthread::setcanceltype): New method. Replacement for
	__pthread_setcanceltype.
	(pthread::pop_cleanup_handler): Added lock for async cancel safe
	cancellation.
	(pthread::thread_init_wrapper): Change __pthread_exit to
	thread->exit().
	(__pthread_cancel): Call method thread->cancel().
	(__pthread_exit): Remove.
	(__pthread_setcancelstate): Ditto.
	(__pthread_setcanceltype): Ditto.
	(__pthread_testcancel): Ditto.
2002-07-04 14:17:30 +00:00
..
bz2lib
cygserver Use cygwin_{shm,ipc}.h instead of /sys/{shm,ipc}.h throughout. 2002-06-23 22:56:58 +00:00
cygwin 2002-06-25 Thomas Pfaff <tpfaff@gmx.net> 2002-07-04 14:17:30 +00:00
doc * ntsec.sgml: Clean up text for examples of /etc/passwd and /etc/group. 2002-06-24 09:30:02 +00:00
mingw * include/tchar.h (_getts): Define as _getws for _UNICODE. 2002-06-18 20:48:57 +00:00
subauth
testsuite * Makefile.in: Eliminate unneeded Makefile recreation rule. 2002-07-04 03:08:00 +00:00
utils * mkgroup.c: Add function pointers for functions from advapi32.dll. 2002-07-02 12:59:43 +00:00
w32api Let RPC API work with or without windows.h. 2002-07-04 08:29:56 +00:00
CYGWIN_LICENSE
ChangeLog 2002-06-25 Thomas Pfaff <tpfaff@gmx.net> 2002-07-04 14:17:30 +00:00
MAINTAINERS
Makefile.common
Makefile.in
configure * configure.in: Complain about lack of w32api directory. 2002-06-02 05:54:33 +00:00
configure.in * configure.in: Complain about lack of w32api directory. 2002-06-02 05:54:33 +00:00