From: Jaesung Ku Date: Thu, 21 Mar 2013 08:59:49 +0000 (+0900) Subject: Update for MaxTimeOut X-Git-Tag: accepted/tizen_2.1/20130425.034849~241 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0e12ab2b690802c19231151e822e0590101cf9b9;p=framework%2Fosp%2Fappfw.git Update for MaxTimeOut Change-Id: I5c9c4d437f75476bb3b8cd52dd017f22e543aaa8 Signed-off-by: Jaesung Ku --- 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);