Win32 同步 [英] Win32 synchronization
本文介绍了Win32 同步的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试编写一个应用程序(基于控制台),其中一个线程从控制台读取信息,另一个线程将相同的信息打印回控制台.
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.
约翰
推荐答案
如果你的意思是 C++,你可以在这里找到示例:
If you mean c++, you can find sample here:
这篇关于Win32 同步的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文