Win32 synchronization
I am trying to write an application (console based),in which one thread reads information from console and another thread prints the same information back to开发者_运维技巧 console.
I am stuck in implementing the synchronization logic .
Can anyone refer me some samples.
john
If you mean c++, you can find sample here:
Using Critical Section Objects
精彩评论