From 01dec70e0a1bc7a05647462e133ce22ad37707b6 Mon Sep 17 00:00:00 2001 From: vsc Date: Sat, 28 Feb 2004 14:59:03 +0000 Subject: [PATCH] thread support git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1010 b08c6af1-5177-4d33-ba66-4b1c6b8b522a --- C/threads.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C/threads.c b/C/threads.c index af76d2caf..e70294837 100644 --- a/C/threads.c +++ b/C/threads.c @@ -205,8 +205,8 @@ p_thread_detach(void) static Int p_thread_exit(void) { - fprintf(stderr,"here i go %d %ld\n", worker_id, ThreadHandle[worker_id].handle); thread_die(worker_id, FALSE); + fprintf(stderr,"here i go %d %ld\n", worker_id, ThreadHandle[worker_id].handle); pthread_exit(NULL); return TRUE; }