Yet another question: does the iterator code get executed in multiple threads, that is, do I have to take care about mutual exclusion while accessing data structures for example?
    Sebastian-

Sebastian Bello escribió:
Sorry, I apologize to all, my fault! A bug in my code! :(
Thanks for the assistance!
    Sebastian-

Dave Shield escribió:
On 11/09/06, Sebastian Bello <[EMAIL PROTECTED]> wrote:
  
 Returning NULL isn't working for me; even the following code crashes snmpd
(it shouldn't, right?):
    

It shouldn't - no.
Try running the agent under a debugger, and see where it falls over.


  
 netsnmp_variable_list *moTable_get_first_data_point(void
**my_loop_context, void **my_data_context,
                           netsnmp_variable_list *put_index_data,
                           netsnmp_iterator_info *mydata)
 {
         return NULL;
 }
    

Yup - I think that qualifies as a simple test case!

Dave

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


  

------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

_______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to