summaryrefslogtreecommitdiff
path: root/pthread_exit.c
diff options
context:
space:
mode:
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. */