summaryrefslogtreecommitdiff
path: root/implement.h
diff options
context:
space:
mode:
Diffstat (limited to 'implement.h')
-rw-r--r--implement.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/implement.h b/implement.h
index 5ee9ba3..ba8db6e 100644
--- a/implement.h
+++ b/implement.h
@@ -17,9 +17,9 @@ enum {
};
#define _PTHREAD_VALID(T) \
- (T) != NULL \
- && ((T)->ptstatus == _PTHREAD_NEW
- || (T)->ptstatus == _PTHREAD_INUSE)
+ ((T) != NULL \
+ && ((T)->ptstatus == _PTHREAD_NEW
+ || (T)->ptstatus == _PTHREAD_INUSE))
/* Handler execution flags. */
#define _PTHREAD_HANDLER_NOEXECUTE 0
@@ -114,8 +114,6 @@ void _pthread_handler_pop_all(int stack,
int _pthread_new_thread(pthread_t * thread);
-pthread_t _pthread_find_thread(HANDLE win32handle);
-
int _pthread_delete_thread(pthread_t thread);
/* Thread cleanup. */
@@ -129,6 +127,11 @@ void _pthread_exit(pthread_t thread, void * value, int return_code);
#endif /* __cplusplus */
+/* Global declared dll.c */
+
+extern DWORD _pthread_threadID_TlsIndex;
+
+
/* Global data declared in global.c */
extern pthread_mutex_t _pthread_table_mutex;