|
-
August 17th, 2010, 03:19 PM
#4
Re: Multi-threading and Accessing a Mutex
If you are only synchronizing between threads in the same process, consider using a Critical Section.
If a cs won't work (because you need to use the WaitForXXX functions, then realize that you can pass the mutex handle to any thread that needs the mutex. In other words, there's no need to perform OpenMutex inside the thread.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|