Nithin
2009-11-27 17:24:43 UTC
Hi all,
I want to create two threads in VC++.Both threads will access the same
function.
Say the function has some ten lines of code.The first thread excutes
only 5 lines and calls
the second thread.the second thread calls the same function executes
the full function(10
lines) and ends.The first thread resumes and executes the remaining
five lines and
terminates.
Can someone please share code/suggestions or pointers to good links on
how I can do
this..
Thanks in adavnce,
Nithin
I want to create two threads in VC++.Both threads will access the same
function.
Say the function has some ten lines of code.The first thread excutes
only 5 lines and calls
the second thread.the second thread calls the same function executes
the full function(10
lines) and ends.The first thread resumes and executes the remaining
five lines and
terminates.
Can someone please share code/suggestions or pointers to good links on
how I can do
this..
Thanks in adavnce,
Nithin