Boost logo

Boost Users :

Subject: Re: [Boost-users] [coroutine] Bus error on Mac OS X 10.5
From: Zeljko Vrba (zvrba_at_[hidden])
Date: 2009-04-09 01:39:19


On Wed, Apr 08, 2009 at 11:47:38PM -0400, Nat Goodspeed wrote:
>
> After a couple hours of searching, I have not yet turned up either an
> article or an example of the "sigaltstack + longjmp trick." Can anyone
> steer me to a reference implementation? I can't just hack something
>
Yes, look up GNU Pth: http://www.gnu.org/software/pth/

There you will find also a link to the "Portable Multithreading" paper
which describes the trick.

You probably do not need to do very much, since GNU Pth already *does*
provide *context() equivalents, though with a slightly different interface.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net