由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Programming版 - pthread and C++
相关主题
C++11 native thread问题请教一个linux下的POSIX timer的问题。
请教C++ thread library请问这些问题应该在那种书上找到答案?
Linux thread和NPTL thread什么关系? (转载)请推荐几本Multi-threading的编程书籍
多线程的程序设计有什么好书推荐? (转载)[合集] 怎么样提高自己的multi-thread programming能力?
VC++线程问题[转载] Unix/Posix system programming training
Windows XP与Multithreading Programming问问跟Linux Kernel Programming 有关的问题
推荐一个network programming的C++ library? (转载)Advanced Linux Programming - Free to download [PDF]
学习multi threading, 有什么好书?大家看过来Re: C++ Guys!!!!
相关话题的讨论汇总
话题: pthread话题: c++话题: thread话题: library话题: class
进入Programming版参与讨论
1 (共1页)
i**p
发帖数: 902
1
Can we program multi-thread code with pthread library?
p***o
发帖数: 1252
2
Why not?

【在 i**p 的大作中提到】
: Can we program multi-thread code with pthread library?
i**p
发帖数: 902
3
How? Is there Thread class in pthread library? or I have to call pthread C
library in my C++ code?

【在 p***o 的大作中提到】
: Why not?
D*******a
发帖数: 3688
4
right, use a small C function to serve as a thread stub

【在 i**p 的大作中提到】
: How? Is there Thread class in pthread library? or I have to call pthread C
: library in my C++ code?

i**p
发帖数: 902
5
The Zthread provides the multi-threading Class Library, which makes the thread programming in C++ much easier. Is there any effort on pthread by POSIX or organizations? After all, the pthread is used broadly by programers.

【在 D*******a 的大作中提到】
: right, use a small C function to serve as a thread stub
p***o
发帖数: 1252
6
What do you mean? A C++ version of pthread? I don't think pthread people
would put any effort toward that. It makes more sense to port pthread to
every platform.
There are quite some cross-platform C++ thread libraries, which will use
pthread on platforms with pthread, like Zthread and ACE.

thread programming in C++ much easier. Is there any effort on pthread by
POSIX or organizations? After all, the pthread is used broadly by programers.

【在 i**p 的大作中提到】
: The Zthread provides the multi-threading Class Library, which makes the thread programming in C++ much easier. Is there any effort on pthread by POSIX or organizations? After all, the pthread is used broadly by programers.
i**p
发帖数: 902
7
No necessary of a C++ version, but a class wrapper of pthread library, for
example,
Class My_class : public Pthread {
...
}
My_class my;
my.create();
..
Did you mean Zthread is implemented by pthread underneath?

programers.

【在 p***o 的大作中提到】
: What do you mean? A C++ version of pthread? I don't think pthread people
: would put any effort toward that. It makes more sense to port pthread to
: every platform.
: There are quite some cross-platform C++ thread libraries, which will use
: pthread on platforms with pthread, like Zthread and ACE.
:
: thread programming in C++ much easier. Is there any effort on pthread by
: POSIX or organizations? After all, the pthread is used broadly by programers.

p***o
发帖数: 1252
8

en.wikipedia.org/wiki/Zthread

【在 i**p 的大作中提到】
: No necessary of a C++ version, but a class wrapper of pthread library, for
: example,
: Class My_class : public Pthread {
: ...
: }
: My_class my;
: my.create();
: ..
: Did you mean Zthread is implemented by pthread underneath?
:

1 (共1页)
进入Programming版参与讨论
相关主题
大家看过来Re: C++ Guys!!!!VC++线程问题
在C/C++里的文件复制操作Windows XP与Multithreading Programming
C++中调用script推荐一个network programming的C++ library? (转载)
为啥用mmap访问文件的效率高呢?学习multi threading, 有什么好书?
C++11 native thread问题请教一个linux下的POSIX timer的问题。
请教C++ thread library请问这些问题应该在那种书上找到答案?
Linux thread和NPTL thread什么关系? (转载)请推荐几本Multi-threading的编程书籍
多线程的程序设计有什么好书推荐? (转载)[合集] 怎么样提高自己的multi-thread programming能力?
相关话题的讨论汇总
话题: pthread话题: c++话题: thread话题: library话题: class