thread support

git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1010 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
vsc 2004-02-28 14:59:03 +00:00
parent 495ed28c35
commit 01dec70e0a

View File

@ -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;
}