diff options
author | rpj <rpj> | 2004-11-23 01:06:18 +0000 |
---|---|---|
committer | rpj <rpj> | 2004-11-23 01:06:18 +0000 |
commit | 45bf44ba9acba066769bedf5657e13d7d66e152e (patch) | |
tree | f8a9b4f133cde15a238add93be4dcf7e5d2f62f4 /pthread_detach.c | |
parent | 91f42a2d730786fba0675fd39379ac2216b95d08 (diff) |
''
Diffstat (limited to 'pthread_detach.c')
-rw-r--r-- | pthread_detach.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pthread_detach.c b/pthread_detach.c index 147c506..93903a7 100644 --- a/pthread_detach.c +++ b/pthread_detach.c @@ -77,8 +77,8 @@ pthread_detach (pthread_t thread) int result; ptw32_thread_t * tp = (ptw32_thread_t *) thread.p; - /* This is the proper way to test for a valid thread. */ result = pthread_kill (thread, 0); + if (0 != result) { return result; |