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 <[email protected]>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
>
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to