From ba2535020d1dcfd750d67a35db79837438dfad9f Mon Sep 17 00:00:00 2001 From: rpj Date: Thu, 12 Aug 1999 02:41:13 +0000 Subject: ChangeLog: 1999-08-12 Ross Johnson * private.c (_pthread_threadStart): ei[] only declared if _MSC_VER. tests/ChangeLog: Wed Aug 12 1999 Ross Johnson * Makefile (LIBS): Add -L. --- ChangeLog | 2 ++ private.c | 5 +++++ tests/ChangeLog | 4 ++++ tests/Makefile | 2 +- 4 files changed, 12 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index bdaf3b6..76c866c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 1999-08-12 Ross Johnson + * 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. diff --git a/private.c b/private.c index 1b6ba64..3c533f1 100644 --- a/private.c +++ b/private.c @@ -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 + + * Makefile (LIBS): Add -L. + Mon May 31 10:25:01 1999 Ross Johnson * 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 -- cgit v1.2.3