From 5f3c7322e8f3f35cb0f8c250f337596c83961b25 Mon Sep 17 00:00:00 2001 From: rpj Date: Mon, 4 Jan 1999 23:22:35 +0000 Subject: Parts of this package are going to have to be C++ in the GNU world because we now use exception handling to implement thread cancellation. The MSC compiler appears to know about __try/__except blocks, but gcc (ie. the GNU ANSI C compiler) doesn't know about the equivalent C++ try/catch blocks. This should not be a problem since gcc and g++ are nearly always available together. Some file names may need to change in the CVS repository however. Tue Jan 5 16:33:04 1999 Ross Johnson * cleanup.c (_pthread_pop_cleanup): Add C++ version of __try/__except block. Move trailing "}" out of #ifdef _WIN32 block left there by (my) mistake. * private.c: Remove #include which is included by pthread.h. --- private.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'private.c') diff --git a/private.c b/private.c index 901973a..4ae12e8 100644 --- a/private.c +++ b/private.c @@ -6,8 +6,6 @@ * the implementation and may be used throughout it. */ -#include - #include "pthread.h" #include "implement.h" -- cgit v1.2.3