Multi-Threaded application
jayesh km <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Hi,
I am implementing a Net-SNMP agent to handle table data. I used mib2c..array-user.conf file to generate code from the mib file.
I have a snmp thread, which will process SET/GET request from network and invoke a call back to user whenever it gets a SET request to add new row to the table.
I have one more application thread which talks to another process and that thread can update the container (say delete a row or add a row) through container_insert, container_remove functions.
It can be possible that both snmp thread and application thread both accessing the container at the same time. Is this net-snmp container protected from simultaneous access by net-snmp or should the application developer control access to the container? I am not able to find out the exact place where a node is getting inserted to the container when SET request is processed.
Regards,
Jayesh KM
Looking for local information? Find it on Yahoo! Local http://in.local.yahoo.com/
------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users