Link to home
Start Free TrialLog in
Avatar of F-J-K
F-J-KFlag for Canada

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?

Avatar of alb66
alb66
Flag of Italy image

A summary of thread syncronization objects:
http://www.codeproject.com/KB/threads/Synchronization.aspx

SOLUTION
Avatar of evilrix
evilrix
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of F-J-K

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.