diff options
author | rpj <rpj> | 1999-08-12 02:41:13 +0000 |
---|---|---|
committer | rpj <rpj> | 1999-08-12 02:41:13 +0000 |
commit | ba2535020d1dcfd750d67a35db79837438dfad9f (patch) | |
tree | b22b76dad8d422ec1b5028ff6ddd8a922ce6f5e7 | |
parent | 9af51e470791639995bb34bd3198014dc11e2fef (diff) |
ChangeLog:
1999-08-12 Ross Johnson <rpj@ixobrychus.canberra.edu.au>
* private.c (_pthread_threadStart): ei[] only declared if _MSC_VER.
tests/ChangeLog:
Wed Aug 12 1999 Ross Johnson <rpj@ixobrychus.canberra.edu.au>
* Makefile (LIBS): Add -L.
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | private.c | 5 | ||||
-rw-r--r-- | tests/ChangeLog | 4 | ||||
-rw-r--r-- | tests/Makefile | 2 |
4 files changed, 12 insertions, 1 deletions
@@ -1,5 +1,7 @@ 1999-08-12 Ross Johnson <rpj@ixobrychus.canberra.edu.au> + * private.c (_pthread_threadStart): ei[] only declared if _MSC_VER. + * exit.c (pthread_exit): Check for implicitly created threads to avoid raising an unhandled exception. @@ -165,8 +165,13 @@ _pthread_threadStart (ThreadParms * threadParms) pthread_t self; void *(*start) (void *); void *arg; + +#ifdef _MSC_VER + DWORD ei[3]; +#endif + void * status; self = threadParms->tid; diff --git a/tests/ChangeLog b/tests/ChangeLog index 4140f0c..ac229c7 100644 --- a/tests/ChangeLog +++ b/tests/ChangeLog @@ -1,3 +1,7 @@ +Wed Aug 12 1999 Ross Johnson <rpj@ixobrychus.canberra.edu.au> + + * Makefile (LIBS): Add -L. + Mon May 31 10:25:01 1999 Ross Johnson <rpj@ixobrychus.canberra.edu.au> * Makefile (GLANG): Add GCC language option. diff --git a/tests/Makefile b/tests/Makefile index 7a348ab..7c60452 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -16,7 +16,7 @@ CC = gcc CFLAGS = -g -O2 -UNDEBUG -Wall -x $(GLANG) -o $@ $^ BUILD_DIR = .. INCLUDES = -I. -LIBS = ./libpthread32.a +LIBS = -L. -lpthread32 ## ## MSVC |