SNMPProcessEvents(), blocking, and adding a user

D. R. Evans N7DR____arrl.net
Fri Sep 20 17:41:02 CEST 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

If I execute the following code in thread #1:

while (1)
  SNMPProcessEvents();

then this thread blocks until there is an incoming event to process.

If, in the meantime (i.e., after SNMPProcessEvents() is called, but before 
an inform arrives), thread #2 performs a usmAddUserName(), is this new name 
properly recognized when thread #1 receives an inform from the new user?

It seems like the answer has to be "Yes", but I would like to be sure of 
this before committing myself to a particular design for the inform handler 
in my SNMP engine.

  Doc


-----BEGIN PGP SIGNATURE-----
Version: PGP 6.0.2 -- QDPGP 2.60 
Comment: Key obtainable from servers: ID 0x362912B8

iQA/AwUBPYtBj2nXrLw2KRK4EQK9/QCggySP8I+DvR6j7qgHF0sU4MzSHSUAniL0
6qlCfdoqLMq1JIcnpJe5Uwi2
=WTdJ
-----END PGP SIGNATURE-----



More information about the AGENTPP mailing list