This is the mail archive of the libc-help@sourceware.org mailing list for the glibc project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
i would like to implement thread model describing as follows: http://code.google.com/p/libvina/source/browse/libSPMD/DESIGN
thanks, --lx
2009/7/22 Liu Xin <Liu.Xin@fujixerox.co.jp>:redirect me if i am sent wrong mail-list. I am making my speficalized thread
library.
i separated thread into 2 kinds -- leader and task. A group of tasks is
generated by a leader with THREAD_CLONE flags using linux clone(2).
a leader is responsible for fireing up his tasks by tkill(2). however, i
found trouble to track progresses in leader thread .
Is there any particular requirement that you have that makes the standard POSIX pthread interface unsuitable for your work?
It looks like you are going to a lot of trouble to create something which already exists. Building your library on top of the pthread interface would make your application portable to Solaris, AIX, HPUX etc.
Cheers, Carlos.
Thanks, --lx
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |