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_cancel.c | |
parent | 91f42a2d730786fba0675fd39379ac2216b95d08 (diff) |
''
Diffstat (limited to 'pthread_cancel.c')
-rw-r--r-- | pthread_cancel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pthread_cancel.c b/pthread_cancel.c index e4afca3..7b6dbcb 100644 --- a/pthread_cancel.c +++ b/pthread_cancel.c @@ -123,8 +123,8 @@ pthread_cancel (pthread_t thread) pthread_t self; ptw32_thread_t * tp; - /* This is the proper way to test thread validity. */ result = pthread_kill (thread, 0); + if (0 != result) { return result; |