代码之家  ›  专栏  ›  技术社区  ›  jonderry

开始学习如何编写一个非常简单的多线程c++程序(包括互斥锁和信号量使用)的最佳方法是什么?

  •  3
  • jonderry  · 技术社区  · 15 年前

    我应该使用什么包,以及“hello world”级别的程序是什么样子的?

    3 回复  |  直到 15 年前
        1
  •  3
  •   Arun    15 年前

    C++: Concurrency in Action

    第一章。该网站提供免费的简介,IIRC包括一个多线程的“Hello,World!”。 C++0x introduces std::thread

        2
  •  0
  •   Alex Emelianov    15 年前

    我推荐这本书: Multithreading Applications in Win32: The Complete Guide to Threads

    它首先涵盖最简单的场景。

        3
  •  0
  •   Jas    15 年前