From: Yukihiro Matsumoto Date: 2005-06-25T23:05:49+09:00 Subject: Re: speeding up Process.detach frequency Hi, In message "Re: speeding up Process.detach frequency" on Sat, 25 Jun 2005 13:15:07 +0900, nobu.nokada@softhome.net writes: |At Sat, 25 Jun 2005 11:42:03 +0900, |Joe Van Dyk wrote in [ruby-talk:146425]: |> Is there any way to speed up Process.detach? The ri documentation for |> it says that it checks once a second, and I'd like to up that to maybe |> once every quarter second. | |It seems like a bug of Process.detach. After it received the |termination, it unnecessarily waits for one second again. Right. But using rb_waitpid() withouth WNOHANG does busy-wait. matz.