rlm_perl and threads
Phil Mayers
p.mayers at imperial.ac.uk
Mon Nov 5 15:01:56 CET 2012
On 05/11/12 13:36, Edgar Fuß wrote:
>> Yes. Likely, even.
> Thanks. So will these then be two distinct Perl interpreters or two instances
> of the same Perl interpreter? From the Perl script's point of view, what will
> the two instances share?
> Can you hint me to any documentation covering this?
I'm not aware of any docs. You might need to refer to the source.
In particular, the USE_ITHREADS #define seems to control how the perl
interpreter is created/allocated/used. I'm not familiar enough with perl
to understand the code, personally. See here:
https://github.com/FreeRADIUS/freeradius-server/blob/master/src/modules/rlm_perl/rlm_perl.c#L254
...and the rest of that file.
More information about the Freeradius-Users
mailing list