Click to See Complete Forum and Search --> : IPC using UIThread and worker thread


newbMFC
September 26th, 2011, 11:47 AM
I'm new to VC++. I want a simple program or pseudo code about how the UI thread and worker thread communicates and handle events

or

a simple program for how 2 threads access a resource, say one reading a file and other writing to the file.


Please help me.

Igor Vartanov
October 6th, 2011, 10:24 AM
For example, this post (http://www.codeguru.com/forum/showthread.php?p=1501086#post1501086) shows communication thing.