<div>Hi All,</div>
<div>&nbsp;</div>
<div>I have a problem regarding xorp eventloop mechanism.</div>
<div>&nbsp;</div>
<div>I am trying to add a function called pname of a new xorp process called pname to the same process&#39;s eventloop.</div>
<div>&nbsp;</div>
<div>The function&nbsp;is supposed to periodically&nbsp;obtain the link state database from ospfV2.</div>
<div>&nbsp;</div>
<div>I used the following&nbsp;function to add the function to the eventloop:</div>
<div>&nbsp;</div>
<div>void<br>XrlpnameNode::add_to_eventloop()</div>
<div>{<br>&nbsp;&nbsp;&nbsp; XorpTimer get_LSD_timer;</div>
<div>&nbsp;&nbsp;&nbsp; get_LSD_timer.unschedule();</div>
<div>&nbsp;&nbsp;&nbsp; get_LSD_timer = _eventloop.new_periodic_ms(10000, callback(this, &amp;XrlpnameNode::function_to_be_added_to_eventloop));</div>
<div>}</div>
<div>&nbsp;</div>
<div>XrlpnameNode::add_to_eventloop() is called&nbsp;by the main&nbsp;function of the process, right before entering the main loop of the process. (_eventloop is set properly within the constructor of XrlpnameNode). As can be seen, function_to_be_added_to_eventloop is also defined in XrlpnameNode class.</div>

<div>&nbsp;</div>
<div>The problem is that the function function_to_be_added_to_eventloop is not executed by the eventloop of the process pname.</div>
<div>&nbsp;</div>
<div>Anyone has an idea what I am missing ?</div>
<div>&nbsp;</div>
<div>Thanks,</div>
<div>Selcuk</div>
<div>&nbsp;</div>
<div>&nbsp;</div>