fork and wait

Joe Maimon jmaimon at ttec.com
Thu Jan 18 15:29:51 CET 2007



Alan DeKok wrote:

> Joe Maimon wrote:
> 
>>code calls rad_fork(1) (such as rad_check_ts())
>>
>>This means that no entry is stored in thread_pool.waiters
> 
> 
>   It looks like that's a bug in rad_fork.  It should probably be doing
> 
>      if (!exec_wait) return fork;
> 
>   Oops.
> 

That makes more sense.

I still have my doubts that calling waipid(0 is the right thing to do.





More information about the Freeradius-Devel mailing list