Creating a timer within a module

Alan DeKok 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.

  Alan DeKok.




More information about the Freeradius-Devel mailing list