C ++多线程教程 [英] C++ multithreading tutorial
本文介绍了C ++多线程教程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有什么好的教程在Visual Studio 2005中使用(编程)线程?不是 MFC 相关的,只是本机C ++(无.NET)。
Is there a good tutorial on working with (programming) threads in Visual Studio 2005? Not MFC related, just native C++ (no .NET).
推荐答案
而不是直接使用Win32线程,我会考虑使用一个线程包装,如回顶线。这些是跨平台,所以移植你的应用程序以后会更容易。
Instead of using Win32 threads directly, I'd consider using a thread wrapper such as Boost threads. These are cross platform so porting your application later will be easier.
这篇关于C ++多线程教程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文