Is there any cross-platform threading library in C++?

前端 未结 12 1018
小鲜肉
小鲜肉 2020-12-14 01:36

I\'m looking for some easy to use cross-platform threading library written in C++.

What\'s your opinion on boost::thread or Pthreads? Does

12条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-14 01:54

    Pthreads are running only on POSIX systems. QThread from Qt is a way to go. It is available on platforms: Linux, Mac OS X, Windows, Embedded Linux, Windows CE, Symbian, Maemo.

提交回复
热议问题