I have a C++ application which needs to be multi-threaded in windows platform. After browsing some forums, I gave CreateThread
API a try. Here is the link giving details regarding its signature.
But, it always throws Access violation
error and after going through some more forums, I got a bit confused when they said that this API has always had some problems. Some have recommended to use BeginThreadEx
.
What is your recommendation for threading model implementation? Also, give reasons for your recommendation.