Threading question

Started by
0 comments, last by SiCrane 16 years, 9 months ago
I've never used multi-threading before and all I've really heard about it is how easily it can turn nasty. As such, before I attempt to use threading I wanted to check one little thing... If I start a new thread to run the function xyz, and the function xyz returns, will that end the thread? Or will Windows call the thread again until I explicitly terminate it?
Progress is born from the opportunity to make mistakes.

My prize winning Connect 4 AI looks one move ahead, can you beat it? @nickstadb
Advertisement
If the function you pass to CreateThread() returns, the thread should terminate.

This topic is closed to new replies.

Advertisement