由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Programming版 - c++11 std thread类 怎么样,大家用过么
相关主题
有专门介绍multithreading编程的书吗openMP or boost::thread (pthread) for multithreading ?
C++ timer class for multithreads?单开主题:为何痛恨python
C++的并行架构库是如何实现内存回收?multithread program design pattern (C++)
multithread app的design要注意哪些问题?求推荐multithreading编程的书
Pthread support on Windows XPC佳佳确实过时了
java concurrency请教c++ multithreading入门问题
有啥比较好的multithreaded C++ project?multi threading 还是 multi processing
想知道家在linux下都有什么c++ socket library一个multithread的问题(是不是有人觉的很简单?)
相关话题的讨论汇总
话题: c++话题: thread话题: std话题: microsoft
进入Programming版参与讨论
1 (共1页)
N******K
发帖数: 10202
1
有什么评价?
p*u
发帖数: 2454
2

never used it, don't want to either...

【在 N******K 的大作中提到】
: 有什么评价?
l*********s
发帖数: 5409
3
never used, but looks very convenient.
t****t
发帖数: 6806
4
没什么特别的, 就是对native api的包装, 比如native pthread start function只能
带一个固定的void*参数, std::thread就没有限制等等
基本上就是std::function和pthread的结合, 当然方便是肯定的, 这没话说. 我现在只
用这个了.

【在 N******K 的大作中提到】
: 有什么评价?
N******K
发帖数: 10202
5
http://akrzemi1.wordpress.com/2012/11/14/not-using-stdthread/
对这篇文章有何看法?

【在 t****t 的大作中提到】
: 没什么特别的, 就是对native api的包装, 比如native pthread start function只能
: 带一个固定的void*参数, std::thread就没有限制等等
: 基本上就是std::function和pthread的结合, 当然方便是肯定的, 这没话说. 我现在只
: 用这个了.

t****t
发帖数: 6806
6
没看法, 我觉得他说的跟用不用std::thread关系不大. 线程里的exception总是要分开
处理的.

【在 N******K 的大作中提到】
: http://akrzemi1.wordpress.com/2012/11/14/not-using-stdthread/
: 对这篇文章有何看法?

k**********g
发帖数: 989
7

The C++ multithreading gurus should study the Microsoft implementation of
Parallel Patterns Library. http://msdn.microsoft.com/en-us/library/dd492418.aspx
Even if one has a hatred for Microsoft, one must admit that PPL is one
advanced implementation of a concurrency (and multithreading) library where
a lot of design effort has been invested.
C++ already has mechanism for capturing the exception thrown in one thread,
and rethrowing or retrieving it from a different thread.

【在 N******K 的大作中提到】
: http://akrzemi1.wordpress.com/2012/11/14/not-using-stdthread/
: 对这篇文章有何看法?

1 (共1页)
进入Programming版参与讨论
相关主题
一个multithread的问题(是不是有人觉的很简单?)Pthread support on Windows XP
来来,讨论一下multithread, multi-core, affinityjava concurrency
学习multi threading, 有什么好书?有啥比较好的multithreaded C++ project?
请教c++ multithreading想知道家在linux下都有什么c++ socket library
有专门介绍multithreading编程的书吗openMP or boost::thread (pthread) for multithreading ?
C++ timer class for multithreads?单开主题:为何痛恨python
C++的并行架构库是如何实现内存回收?multithread program design pattern (C++)
multithread app的design要注意哪些问题?求推荐multithreading编程的书
相关话题的讨论汇总
话题: c++话题: thread话题: std话题: microsoft