From 0e12ab2b690802c19231151e822e0590101cf9b9 Mon Sep 17 00:00:00 2001 From: Jaesung Ku Date: Thu, 21 Mar 2013 17:59:49 +0900 Subject: [PATCH] Update for MaxTimeOut Change-Id: I5c9c4d437f75476bb3b8cd52dd017f22e543aaa8 Signed-off-by: Jaesung Ku --- src/base/runtime/FBaseRt_WaitingLoopImpl.cpp | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/base/runtime/FBaseRt_WaitingLoopImpl.cpp b/src/base/runtime/FBaseRt_WaitingLoopImpl.cpp index 6ab4c7b..9d1862b 100755 --- a/src/base/runtime/FBaseRt_WaitingLoopImpl.cpp +++ b/src/base/runtime/FBaseRt_WaitingLoopImpl.cpp @@ -133,11 +133,6 @@ _WaitingLoopImpl::Wait(int timeout) __timeout = false; __waitType = WAIT_TIMEOUT; - if (__maxTimeout < timeout) - { - timeout = __maxTimeout; - } - result r = __pTimer->Start(timeout); SysTryReturn(NID_BASE_RT, r == E_SUCCESS, r, r,"[%s]Timer does not start.", GetErrorMessage(r)); @@ -210,11 +205,6 @@ _WaitingLoopImpl::Wait(int timeout, IWaitingLoopCondition& condition) __waitType = WAIT_TIMEOUT_CONDITION; __pWaitingLoopCondition = &condition; - if(timeout > __maxTimeout) - { - timeout = __maxTimeout; - } - if (timeout < __waitingRepeatableTime) { result r = __pTimer->StartAsRepeatable(__waitingRepeatableTime); -- 2.7.4