F-J-K
asked on
When Should I Have an Event for Each Thread? - C++
1. When would be appropriate to use an event for each thread?
2. Mutex should be used when two threads are reading/writing to a shared resource, right? Is there an alternative - just curious to know?
2. Mutex should be used when two threads are reading/writing to a shared resource, right? Is there an alternative - just curious to know?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Well done. I'm pretty new to multi-threading. It does not seem an easy thing to learn, it can get so complex as far as i see.
http://www.codeproject.com/KB/threads/Synchronization.aspx