sleep() is sometimes defined as a macro. Such as in Squid compat library.
Use another name for the sleep starting method in class Ipc::UdsOp
This is an iCelero Project
if (params.flag != COMM_OK && retries-- > 0) {
// perhaps a fresh connection and more time will help?
conn()->close();
- sleep();
+ startSleep();
}
}
/// pause for a while before resending the message
-void Ipc::UdsSender::sleep()
+void Ipc::UdsSender::startSleep()
{
Must(!sleeping);
sleeping = true;
virtual void timedout(); // UdsOp API
private:
- void sleep();
+ void startSleep();
void cancelSleep();
static void DelayedRetry(void *data);
void delayedRetry();