chicken-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-hackers] [PATCH] Change setjmp/longjmp to _setjmp/_longjmp


From: John Cowan
Subject: Re: [Chicken-hackers] [PATCH] Change setjmp/longjmp to _setjmp/_longjmp to avoid overhead and fix signal masking bug
Date: Wed, 13 Jun 2012 21:51:58 -0400
User-agent: Mutt/1.5.20 (2009-06-14)

Jim Ursetto scripsit:

> Other than figuring that out, it would be a good idea to test on mingw
> and OS X (I was going to do this).  However testing on other platforms
> like cygwin or Solaris (or more obscure?) is problematic.  It is not
> really a question of whether _setjmp works but if every platform supports
> _setjmp.  

On Cygwin, _setjmp and _longjmp are supported.  I can test, but probably
not until next week.

On Solaris, _setjmp and _longjmp don't manipulate the signal mask,
whereas setjmp and longjmp do, according to the man pages.  I can't test
on Solaris.

-- 
John Cowan                              address@hidden
            http://www.ccil.org/~cowan
Humpty Dump Dublin squeaks through his norse
                Humpty Dump Dublin hath a horrible vorse
But for all his kinks English / And his irismanx brogues
                Humpty Dump Dublin's grandada of all rogues.  --Cousin James



reply via email to

[Prev in Thread] Current Thread [Next in Thread]