简体   繁体   中英

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM