Hi,

In message "[ruby-talk:13605] signal handling - trap is in non-interrupt context, right?"
    on 01/04/12, Colin Steele <colin / webg2.com> writes:

|When one hands a proc to trap, and the specified signal is caught,
|does the proc run in interrupt context (in the UNIX sense)?

No, unless rb_trap_immediate is true.

|Ie., is it ok to do Ruby stuff in that trap proc which will result in
|calls to non-rentrant UNIX functions?

I think it's OK.  If you have problem, let me know.

							matz.