summaryrefslogtreecommitdiff
path: root/pthread_exit.c
diff options
context:
space:
mode:
authorrpj <rpj>2004-05-17 01:38:02 +0000
committerrpj <rpj>2004-05-17 01:38:02 +0000
commit771465fed0cf50ee2dd790723245fc091699c324 (patch)
treed8c18d095a33fe7c4564bd90c5f313bb9e4057dd /pthread_exit.c
parent8b14911744f58cbe3730703f3fcc41cd969fd0f3 (diff)
re-indentation, bug fixes, hooks for pre-emptive async cancelation
Diffstat (limited to 'pthread_exit.c')
-rw-r--r--pthread_exit.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/pthread_exit.c b/pthread_exit.c
index da19063..302135b 100644
--- a/pthread_exit.c
+++ b/pthread_exit.c
@@ -38,7 +38,7 @@
#include "pthread.h"
#include "implement.h"
#ifndef _UWIN
-# include <process.h>
+//# include <process.h>
#endif
void
@@ -74,8 +74,8 @@ pthread_exit (void *value_ptr)
self = (pthread_t) pthread_getspecific (ptw32_selfThreadKey);
#ifdef _UWIN
- if(--pthread_count <= 0)
- exit((int)value_ptr);
+ if (--pthread_count <= 0)
+ exit ((int) value_ptr);
#endif
if (NULL == self)
@@ -99,7 +99,7 @@ pthread_exit (void *value_ptr)
self->exitStatus = value_ptr;
- ptw32_throw(PTW32_EPS_EXIT);
+ ptw32_throw (PTW32_EPS_EXIT);
/* Never reached. */