On Fri, Aug 18, 2000, Igor Khasilev wrote:

> This is my first letter to this list, so sorry if something wrong with my
> questions.
> 
> 1) Please, can anybody give me a reference to this list archive?

>From the SUPPORT document in the GNU Pth distribution:
http://www.mail-archive.com/pth-users@gnu.org/

> 2) Does anybody tried to use pth on top of native os threads. This will
> allow to use SMP with pth. 

Why do you need OS _threads_ for this? It should be sufficient to fork
_processes_ and let the underlaying OS distribute those over the processors,
shouldn't it?

> I mean: run several pth schedulers each of which
> runs on top of native os thread (for example on top of system-scope thread
> in solaris or on top of linux thread)? I tried to do this directly
> without any modifications of pth. And it works! At least under solaris.
> Under Linux if conflicts with linuxthreads SIGUSR usage.

How does this conflict look? I ask, because Pth uses SIGUSR1 1. only
temporarily and 2. only if a new thread is spawned.  So, is it really
conflicting there? OTOH if you have this conflict you can easily use SIGUSR2
if you want. Just replace all occurrances of SIGUSR1 with SIGUSR2 in
pth_mctx.c and recompile Pth. SIGUSR1 is nowhere else hard-coded.

                                       Ralf S. Engelschall
                                       [EMAIL PROTECTED]
                                       www.engelschall.com
______________________________________________________________________
GNU Portable Threads (Pth)            http://www.gnu.org/software/pth/
User Support Mailing List                            [EMAIL PROTECTED]
Automated List Manager (Majordomo)           [EMAIL PROTECTED]

Reply via email to