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?

Nope. Windows uses a critical section to lock the thread's message queue that is responsible for the hwnd you are posting the messages to. The messages just get serially added to the end of the queue.



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

Reply via email to