[AGENT++] SNMP++ advocacy
Jochen Katz
katz at agentpp.com
Mon Jan 10 23:28:27 CET 2005
Hi Marek,
>>Classes like Pdu, xTarget, Vb, Oid, UdpAddress... only synchronize
>>access to static members (if there are any), as objects from these
>>classes are normally not shared between different threads.
>
>
> Should they be safe for reading by multiple threads at the same time (when
> no modifications occurs at all)? (I hope so, as it is always a good idea to
> design code in this way.)
yes, all const methods are ok, beside the get_printable() functions, as
these modify internal buffers.
Regards,
Jochen
More information about the AGENTPP
mailing list