Neil Devlin wrote:
Hi Ehsan,
The application creates 4 worker threads , as there are 2 processors. There is a chance that all 4 seperate threads may post a message, can this cause a problem?

Hmm, I thought there's only one thread receiving the messages...

If this is not the case, and the message handling code access any global data, you must implement proper synchronization mechanisms. In that case, it's possible that two message handlers execute simultaneously.

--
Ehsan Akhgari
Farda Technology <http://www.farda-tech.com/>

"Everything should be made as simple as possible, but not simpler." -- Albert Einstein

_______________________________________________
msvc mailing list
[email protected]
See http://beginthread.com/mailman/listinfo/msvc_beginthread.com for 
subscription changes, and list archive.

Reply via email to