f*****s 发帖数: 141 | |
m********0 发帖数: 2717 | 2 Manning.C++.Concurrency.in.Action.
or Pthread Primer
socket I have no idea |
y******e 发帖数: 133 | 3 programming with posix threads by David
http://beej.us/guide/bgnet/output/html/singlepage/bgnet.html
【在 f*****s 的大作中提到】 : 能否推荐一本书,能快速入门的,谢谢。
|
f*****s 发帖数: 141 | 4 有没有什么常用的Library for multithreading? |
o******s 发帖数: 416 | 5 其实pthread不是OOP的,所以用C操纵也一样。
如果从OOP的概念来说的话,boost的lib包装了多线程编程,具有良好的借口,初始化
,lock控制,资源管理等特性。 |
z****g 发帖数: 1978 | 6 native C++ does not support thread programming. Native C++ treats thread as
evil. Try google basic thread concepts, and choose a library.
WinAPI/ MFC /.NET for VC/CLI compiler
boost for gcc. |
k**a 发帖数: 121 | 7 My two cents. I'm not from a CS background so I might be in a similar
situation with you.
If you want to do multithreading programming in C++, you can look up the
boost Thread library and here's the link.
http://www.boost.org/doc/libs/1_42_0/doc/html/thread.html
I personally feel that it's a lot easier to use the boost library compared
to the POSIX pthread library. And for most purposes this is good enough. Of
course you'll need to know some of the basic concepts in multithreading such
as thread |
f*****s 发帖数: 141 | 8 Kida, Your suggestions are really helpful. Thanks a lot. |