"Ryan LeCompte" <[EMAIL PROTECTED]> wrote: > I would like to know if FreeRADIUS invokes the various AAA function hooks > synchronously or asynchronously?
The server is multi-threaded. The methods can be access simultaneously from multiple threads. > For example, is it possible that the modulename_postauth() and > modulename_preauth() functions could be invoked by multiple threads > concurrently? Or is each client authenticated serially? I ask this > question because I'd like to record state between the preauth() and > postauth() hooks, but I'm wondering if I need to take care of the > thread-safety issues as to avoid any data race conditions. See the modules for examples on how to mark your module non-thread-safe. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

