Learning Multithreading by example

V

vigneshkumar.k

I am new to multithreading.I understand the concepts behind it.I like
to experiment it by sample program.I decided to develop a code in which
the main thread reads a file and display it on screen continously. When
the keyboard is hit, the main thread should stop and worker thread
should write the keyboard hit char to the file.so as soon as after it
writes to the file the main thread should resume.
I like to develop it on windows environment.Please help me how to write
it.
 
M

michaelkatsilis

You'll need to post to one of the Windows programming groups to get the
info you need. There are a few different libraries on threading,
depending on the compiler in use. I think posix threads have also been
ported to Windows. Again, not standard C++.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,431
Messages
2,571,677
Members
48,796
Latest member
Greg L.

Latest Threads

Top