per-module per-thread constructors and destructors
fcusack at fcusack.com
Wed Aug 31 01:36:23 CEST 2005
On August 30, 2005 7:08:55 PM -0400 Alan DeKok <aland at ox.org> wrote:
> 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
Yeah, as I'm doing the implementation I'm tending to agree. We'll see
More information about the Freeradius-Devel