per-module per-thread constructors and destructors 
    Alan DeKok 
    aland at ox.org
       
    Wed Aug 31 01:08:55 CEST 2005
    
    
  
Frank Cusack <fcusack at fcusack.com> wrote:
> Someone just pointed out pthread_key_create() to me, I'll use that
> instead.  It's exactly what I wanted.
  Sounds good.
  My $0.02, however, is that per-thread FD's probably aren't
necessary.  There may be 100's of threads in the server, each of which
is in your module only a small amount of time.  So 10 FD's may be good
enough.
  Alan DeKok.
    
    
More information about the Freeradius-Devel
mailing list