9 May
2017
9 May
'17
9:01 a.m.
El 09/05/17 a las 14:57, Alan DeKok escribió:
On May 9, 2017, at 7:10 AM, Alejandro Pérez Méndez <alex@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. Thanks. My case would be the second one, so would not need to call radius_event_list_corral() as a new event loop must be created.
Alejandro
Alan DeKok.
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/devel.html