[AGENT++] [PATCH] agent++: locking fixes and improvements

Jochen Katz katz at agentpp.com
Wed Aug 18 22:22:59 CEST 2010


Hi,

I still have problems to follow. So a few questions:

Am 18.08.2010 09:58, schrieb dominik.vogt at external.thalesgroup.com:
> The code is structured like this:
> 
>   for (/*outer loop*/)

Is this "for (int j=0; j<maxrep; j++) {"?

>   {
>     for (/*middle loop*/)

Is this "for (; (id < req->subrequests()) &&
       (id < endofNextRow); id++) {"?

>     {
> A     lock_mib()
>       do

Is this "do" inside an "#ifdef _SNMPv3"?

If all answers are yes, then the patch is not applicable, because it it
inside an #else of "#ifdef _SNMPv3".

Regards,
  Jochen



More information about the AGENTPP mailing list