• Advertisement
Sign in to follow this  

Threading question

This topic is 3876 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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?

Share this post


Link to post
Share on other sites
Advertisement
If the function you pass to CreateThread() returns, the thread should terminate.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement