Newsgroups: comp.parallel.pvm
From: Daniel Ridge <newt@cesdis.gsfc.nasa.gov>
Subject: Re: MPVM in Linux?
Organization: NASA Goddard Space Flight Center -- Greenbelt, Maryland USA
Date: Thu, 7 Nov 1996 21:01:47 -0500
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Message-ID: <Pine.LNX.3.93.961107205823.147A-100000@yukon.gsfc.nasa.gov>


>         Hello:
>         I've the following doubt: How can I do in Linux to execute a signal
> handler on a separate stack? 

I'd hate to be quoted on this, but this is my understanding of how that
could be made to work under linux (as it is now)

If you use the clone (a powerful fork) system call, you could clone your
processes, the child could have the same VM , file descriptors, signal
handlers, pid, and a new stack.

There's a man page for clone in most of the modern distributions. Let me
know if you'd like a snippet of example code.

-Dan

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\___/~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   Daniel Ridge                      |   USRA  CESDIS
   Research Minion, Beowulf Project  |   Code 930.5
   email: newt@cesdis.gsfc.nasa.gov  |   Nimbus Rd., Bldg. 28, Rm. W274
   tel:   301-286-3062               |   Goddard Space Flight Center
   fax:   301-286-1777               |   Greenbelt, MD.  20771
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\_|_/~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                http://cesdis.gsfc.nasa.gov/people/newt


