SASADA Koichi <ko1 / atdot.net> wrote:
> (2011/06/18 21:14), KOSAKI Motohiro wrote:
> >> >  void
> >> >  rb_thread_wakeup_timer_thread(void)
> >> >  {
> >> > +    if (getpid() != timer_thread_pid) {
> > getpid() return *process* id. timer thread and other threads will
> > get the same process id.
> > 
> 
> This condition checks the race between parent process and forked child
> process.  This may be intentional.

Yes, that is my intent.

> I'll fix with another way to avoid such race.

OK.

-- 
Eric Wong