From: Graham Agnew Date: 2009-04-01T08:47:37+09:00 Subject: [ruby-core:23088] [Bug #1342] signal handling on HP-UX Issue #1342 has been updated by Graham Agnew. Hi Dave, Granted this won't be available everywhere, however it remains that, setjmp and longjmp are not necessarily appropriate in HP-UX. The man page for setjmp/longjmp on HP-UX has the following: > The effect of a call to longjmp() where the initialization of the jmp_buf argument was not performed in the calling thread is undefined. So where available, shouldn't the getcontext / setcontext routines be used? Cheers, Gra. ---------------------------------------- http://redmine.ruby-lang.org/issues/show/1342 ---------------------------------------- http://redmine.ruby-lang.org