From 48f006fc656c70757103dc9efa92d5775717576b Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Fri, 8 Jul 2005 09:10:42 +0000 Subject: Updated to fedora-glibc-20050708T0811 --- linuxthreads/Examples/ex16.c | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100644 linuxthreads/Examples/ex16.c (limited to 'linuxthreads/Examples/ex16.c') diff --git a/linuxthreads/Examples/ex16.c b/linuxthreads/Examples/ex16.c deleted file mode 100644 index 6509ae4515..0000000000 --- a/linuxthreads/Examples/ex16.c +++ /dev/null @@ -1,26 +0,0 @@ -/* Tst case by Jakub Jelinek . */ -#include -#include -#include - -static void * -task (void *p) -{ - sleep (30); - return NULL; -} - -int -main (void) -{ - pthread_t t; - int status; - - status = pthread_create (&t, NULL, task, NULL); - if (status) - exit (status); - - status = pthread_detach (t); - pthread_kill_other_threads_np (); - return status; -} -- cgit v1.2.3-70-g09d2