Win32 sync

I am trying to write an application (console based) where one thread reads information from the console and another thread prints the same information back to the console.

I am stuck with the implementation of the sync logic.

Can anyone send me some samples.

John

+2


a source to share


1 answer


If you mean C ++, you can find a sample here:



Using critical section objects

+1


a source







All Articles