Migrating to threaded rlm_perl

Alexander Clouter alex at digriz.org.uk
Mon Jun 20 20:15:49 CEST 2011


Energ <ponch at ponch.ru> wrote:
> 
> But, would it make any difference by using BEGIN{} block for creating shared
> memory segment? Wont threaded rlm_perl process this section in every thread
> it starts?
> 
Threaded to FreeRADIUS means those methods you define are reentrant.  
IIRC BEGIN{} is called only when rlm_perl fires up, afterwards your 
methods are called whenever required, pre-emptively.

Cheers

-- 
Alexander Clouter
.sigmonster says: You mean you don't want to watch WRESTLING from ATLANTA?




More information about the Freeradius-Users mailing list