Creating a timer within a module
aland at deployingradius.com
Tue May 9 14:57:02 CEST 2017
On May 9, 2017, at 7:10 AM, Alejandro Pérez Méndez <alex at um.es> wrote:
> Ok I think I got it. Was your suggestion to use the event list for having the timer functionality, but then on the event handler start/use a custom thread for performing the lengthy operation?
If the work to be done is small, it can just use the main thread, and the main event loop.
If the work to be done is large, the module should start it's own thread, and use it's own event loop.
More information about the Freeradius-Devel