Computer Chess Club Archives


Search

Terms

Messages

Subject: offtopic multithreading question

Author: James Swafford

Date: 22:06:03 07/20/99



I'm nearly done porting my code to CygWin.
In MSVC, I started a thread with a call to "beginthread( )"
in my main( ) function:

   // start ui thread
   beginthread(UIThread,0,0);

Can anyone tell me how to begin a thread in gcc?
More specifically, I need to start a thread to execute
the function: void UIThread(void*);

Help is greatly appreciated.

--
James





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.