Additional thread

James Devine fxmulder at gmail.com
Fri May 22 22:22:54 CEST 2009


It is just easier and less expensive to operate a second thread since it
will be tightly integrated with the threads spawned to handle requests.  I
can run a second process and use IPC if it is not possible to spawn another
thread separate from requests.


On Fri, May 22, 2009 at 2:15 PM, Alan DeKok <aland at deployingradius.com>wrote:

> James Devine wrote:
> > Is it possible for me to spin off my own thread to do background work
> > separate from individual requests in a module?
>
>   No.
>
>  Why would you do that?  The OS already supports multiple processes.
> Just run another process.
>
>  The RADIUS server is about doing RADIUS.  It reads packets, processes
> them, and responds to packets.  There are *no* threads except ones
> processing packets.  There are *no* timer events, except those related
> to processing packets.
>
>  Alan DeKok.
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20090522/ec158274/attachment.html>


More information about the Freeradius-Users mailing list