From f92b4771baf8faccc197ae06922690d1cef74dad Mon Sep 17 00:00:00 2001
From: rpj <rpj>
Date: Thu, 12 Aug 1999 00:53:52 +0000
Subject: 1999-08-12  Ross Johnson  <rpj@ixobrychus.canberra.edu.au>

	* exit.c (pthread_exit): Check for implicitly created threads
	to avoid raising an unhandled exception.

1999-07-12  Ross Johnson  <rpj@ixobrychus.canberra.edu.au>

	* condvar.c (pthread_cond_destroy): Add critical section.
	(cond_timedwait): Add critical section; check for timeout
	waiting on semaphore.
	(pthread_cond_broadcast): Add critical section.
	- Peter Slacik <Peter.Slacik@tatramed.sk>

1999-07-09  Ross Johnson  <rpj@ixobrychus.canberra.edu.au>

	The following changes fix a bug identified by
	Lorin Hochstein <lmh@xiphos.ca> and solved by
	John Bossom <John.Bossom@Cognos.COM>.

	The problem was that cleanup handlers were not executed when
	pthread_exit() was called.

	* implement.h (pthread_t_): Add exceptionInformation element for
	C++ per-thread exception information.
	(general): Define and rename exceptions.


	* misc.c (CancelableWait):  _PTHREAD_EPS_CANCEL (SEH) and
	Pthread_exception_cancel (C++) used to identify the exception.

	* cancel.c (pthread_testcancel): _PTHREAD_EPS_CANCEL (SEH) and
	Pthread_exception_cancel (C++) used to identify the exception.

	* exit.c (pthread_exit): throw/raise an exception to return to
	_pthread_threadStart() to exit the thread. _PTHREAD_EPS_EXIT (SEH)
	and Pthread_exception_exit (C++) used to identify the exception.

	* private.c (_pthread_threadStart): Add pthread_exit exception trap;
	clean up and exit the thread directly rather than via pthread_exit().
---
 tests/ChangeLog | 4 ++++
 tests/Makefile  | 3 ++-
 2 files changed, 6 insertions(+), 1 deletion(-)

(limited to 'tests')

diff --git a/tests/ChangeLog b/tests/ChangeLog
index 22b7028..4140f0c 100644
--- a/tests/ChangeLog
+++ b/tests/ChangeLog
@@ -1,3 +1,7 @@
+Mon May 31 10:25:01 1999  Ross Johnson  <rpj@ixobrychus.canberra.edu.au>
+
+	* Makefile (GLANG): Add GCC language option.
+
 Sat May 29 23:29:04 1999  Ross Johnson  <rpj@ixobrychus.canberra.edu.au>
 
 	* runall.bat (condvar5): Add new test.
diff --git a/tests/Makefile b/tests/Makefile
index f96d830..7a348ab 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -11,8 +11,9 @@ ECHO	= @echo
 #
 # Mingw32
 #
+GLANG	= c
 CC	= gcc
-CFLAGS	= -g -O2 -UNDEBUG -Wall -o $@ $^
+CFLAGS	= -g -O2 -UNDEBUG -Wall -x $(GLANG) -o $@ $^
 BUILD_DIR	= ..
 INCLUDES	= -I.
 LIBS	= ./libpthread32.a
-- 
cgit v1.2.3