per-module per-thread constructors and destructors

Frank Cusack fcusack at fcusack.com
Wed Aug 31 00:16:07 CEST 2005


On August 30, 2005 3:07:33 PM -0700 Frank Cusack <fcusack at fcusack.com> wrote:
>
> I'm going to go ahead and add ctor/dtor support.  We can of course remove
> it if it looks too hairy.

Someone just pointed out pthread_key_create() to me, I'll use that
instead.  It's exactly what I wanted.

(I was originally planning to use TLS [aka __thread] vars but they need
additional destructor support which is what motivated my earlier email.)

-frank



More information about the Freeradius-Devel mailing list