This is a little embarassing asking this because I used to know this. How do you create a seperate thread in C++ and have mutexes, semiphores and all that. I have forgotten and I wonder if anyone knows a good example.
complete
-2
Junior Poster
Recommended Answers
Jump to Postdepends on the operating system. For ms-windows, I use CreateThread() and CreateMutex(). see MSDN for details.
All 4 Replies
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
complete
-2
Junior Poster
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
complete
-2
Junior Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.