diff options
author | rpj <rpj> | 2005-04-01 09:00:27 +0000 |
---|---|---|
committer | rpj <rpj> | 2005-04-01 09:00:27 +0000 |
commit | f7d9daf2243a111623aff7856b24632ef49cefcc (patch) | |
tree | 8bc4fabc31812fb64d2d4ac558f07908757b01a6 /tests/self1.c | |
parent | f6f9976af7a520dd1aeced4f104f4d4711f28e23 (diff) |
''
Diffstat (limited to 'tests/self1.c')
-rw-r--r-- | tests/self1.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/self1.c b/tests/self1.c index 773aee1..59498d9 100644 --- a/tests/self1.c +++ b/tests/self1.c @@ -54,9 +54,16 @@ main(int argc, char * argv[]) */ pthread_t self; +#ifdef PTW32_STATIC_LIB + pthread_win32_process_attach_np(); +#endif + self = pthread_self(); assert(self.p != NULL); +#ifdef PTW32_STATIC_LIB + pthread_win32_process_detach_np(); +#endif return 0; } |