medfall

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 7957f5a2d36a827fb90f84c4bc70413a29bd4330
parent c2da1538608d10fd0c021be4d9ef8f81ce4fa60b
Author: Michael Savage <mikejsavage@gmail.com>
Date:   Tue Feb  7 20:19:44 +0200

Remove thread_cancel

Diffstat:
unix_thread.h | 7-------
1 file changed, 0 insertions(+), 7 deletions(-)
diff --git a/unix_thread.h b/unix_thread.h @@ -37,13 +37,6 @@ inline u64 thread_getid() { #endif } -inline void thread_cancel( Thread * thread ) { - int ok = pthread_cancel( thread->pthread ); - if( ok == -1 ) { - err( 1, "pthread_cancel failed" ); - } -} - inline void thread_join( Thread * thread ) { int ok = pthread_join( thread->pthread, NULL ); if( ok == -1 ) {