From: Emil Ong Date: 2001-07-06T04:30:26+09:00 Subject: [ruby-talk:17340] Re: SIGUSR1/2 ? Hi, On Fri, 6 Jul 2001, Dave Thomas wrote: > Emil Ong writes: > > > If it's not feasible, I understand, but I thought it might be useful to > > other people using SIGUSR[12]. > > Could you trap the USR1 in some Ruby code, and then invoke your > library's handlers from within that code? I guess the main problem is that I don't have access to the library's signal handlers, so I can't reset them arbitrarily. I'm trying to treat the library as an opaque API so that I can use my program with other implementations of the same interface. Thanks, Emil P.S. I'm really enjoying your book! Great job!