From: Yukihiro Matsumoto Date: 2005-06-26T19:28:09+09:00 Subject: Re: speeding up Process.detach frequency Hi, In message "Re: speeding up Process.detach frequency" on Sun, 26 Jun 2005 13:39:35 +0900, nobu.nokada@softhome.net writes: |> |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. | |It should check periodically once per 0.06sec in |rb_thread_polling(). Isn't it too often for most of the cases? |Or if it's not enough, a patch to use SIGCHLD. I'm not sure if SIGCHLD is available on non-UNIX platforms. matz.