From: Yukihiro Matsumoto Date: 2009-05-28T18:27:02+09:00 Subject: [ruby-core:23583] Re: --enable-pthread: when should Ruby use getcontext()/setcontext() instead of _longjmp()/_setjmp()? Hi, In message "Re: [ruby-core:23496] --enable-pthread: when should Ruby use getcontext()/setcontext() instead of _longjmp()/_setjmp()?" on Tue, 19 May 2009 04:20:57 +0900, Hongli Lai writes: |I'm working on a patch which automatically detects whether |_longjmp()/_setjmp() should be used instead of |getcontext()/setcontext(). Are there any reasons why |getcontext()/setcontext() should be used over _longjmp()/_setjmp()? If I understand correctly, 1.8.7 does not use getcontext() unless it is really required. matz.