sjh
-
Posts
2 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Downloads
Posts posted by sjh
-
-
Is there anything else I can try to get our PPMAC boards to boot properly? I have two CPUs that are doing the same thing in different card cages.
Was this issue ever solved? We are having this issue across all of our PPMACs. The boot up failure rate is about 20%.
non blocking version of GetResponse()
in Power PMAC
Posted
We have some code in a C++ program which reads:
bool ZHeadCtrl::StartTrace(Context * c)
{
ENTRY(c, Name);
char szdata[CHAR_BUF_SIZE + 1];
if (GetResponse(const_cast("Gather.enable = 2"), szdata, CHAR_BUF_SIZE, 0)) {
printf(szdata);
EXIT(c, Name);
return CMD_PROCESSOR_ERROR;
}
EXIT(c, Name);
return true;
}
The problem is I want to make this non-blocking. I think I could substitute the GetResponse with a Command .. so something like
if (Command(const_cast("Gather.enable = 2")) {...}
However the documentation does not specify whether or not Command is blocking or not, nor does it tell me if it is non-blocking how I might get the response later.
Please help..