Author: Daniel Karlsson
Date: 19:26:42 07/24/99
Go up one level in this thread
Try something like: pthread_t thread_id; /* Start UIThread() in a new thread */ pthread_create(&thread_id, NULL, UIThread, NULL); /* Do stuff */ ... /* Wait for the "UIThread()"-thread to terminate */ pthread_join(thread_id, NULL); and link your program with the pthread library. I don't know if this is the correct way but it seems to work OK.
This page took 0 seconds to execute
Last modified: Thu, 15 Apr 21 08:11:13 -0700
Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.