[Xorp-users] (no subject)

Atanu Ghosh atanu@ICSI.Berkeley.EDU
Wed, 22 Sep 2004 12:14:12 -0700


The XORP code was not designed to multithreaded. Having two threads in
the eventloop code at the same time is highly likely to be problematic.

What may work is to have one thread exclusively running XORP code. Then
send "messages" to this thread to create new peers (or other operations).

     Atanu.

>>>>> "Nathan" == Nathan K <doesnotcount@hotmail.com> writes:

    Nathan> If I'm writing my own application that uses the BGPPeer
    Nathan> class to maintain BGP connections to my peer routers, can I
    Nathan> add peer routers on the fly? If so how is this accomplished
    Nathan> w.r.t. the eventloop. My application is multithreaded and I
    Nathan> will have one thread call evenloop.run(). Can I have another
    Nathan> thread come in and create new BGPPeers that reference that
    Nathan> running eventloop object?

    Nathan> Thanks.

    Nathan> -Nathan.

    Nathan> _________________________________________________________________
    Nathan> Take advantage of powerful junk e-mail filters built on
    Nathan> patented Microsoft® SmartScreen Technology.
    Nathan> http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines
    Nathan> Start enjoying all the benefits of MSN® Premium right now
    Nathan> and get the first two months FREE*.

    Nathan> _______________________________________________ Xorp-users
    Nathan> mailing list Xorp-users@xorp.org
    Nathan> http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-users