Re: thread safe question

Bart Van Assche <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On Mon, Jun 7, 2010 at 5:45 PM, Kathy McLeod <[email protected]> wrote:

>
> If two different clients/managers issue a command to the agent "at the same
> time", does the agent process them one at a time, or do they get processed
> together.  I.e., do I have to have locking around my static variables?
>

In case of doubt you can analyze your application with a thread checker like
DRD or Helgrind (Linux, included in Valgrind) or Intel Parallel Studio
(Windows).

Bart.

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo

_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.