SNMPProcessEvents(), blocking, and adding a user

Frank Fock Frank.Fock____t-online.de
Sat Sep 21 13:10:18 CEST 2002


Hi Doc,

The answer to your question below is indeed "Yes".

Best regards,
Frank

D. R. Evans wrote:
> -----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