[Xorp-users] Reg :Thread creation inside a Xorp Process

Ben Greear greearb at candelatech.com
Sat Jul 10 06:23:19 PDT 2010


On 07/09/2010 10:55 PM, amarnath at copperheadsystems.com wrote:
> Hi Ben,
> L2 suite is not open source.
> My L2 suite runs as a single process which fork different threads and in
> each thread i will wait in infinite loop for the events.
>    So, I have created a process in the xorp and i am trying to start
> threads as it is implemented in the L2suite.Is there any module in Xorp
> which does this kind of implementation.

No, there are no threads in Xorp.

But, if you want to start threads, something like pthread_create may do what you
want:

https://computing.llnl.gov/tutorials/pthreads/

Thanks,
Ben


-- 
Ben Greear <greearb at candelatech.com>
Candela Technologies Inc  http://www.candelatech.com



More information about the Xorp-users mailing list