Update for MaxTimeOut
authorJaesung Ku <jaesung.ku@samsung.com>
Thu, 21 Mar 2013 08:59:49 +0000 (17:59 +0900)
committerJaesung Ku <jaesung.ku@samsung.com>
Thu, 21 Mar 2013 08:59:49 +0000 (17:59 +0900)
Change-Id: I5c9c4d437f75476bb3b8cd52dd017f22e543aaa8
Signed-off-by: Jaesung Ku <jaesung.ku@samsung.com>
src/base/runtime/FBaseRt_WaitingLoopImpl.cpp

index 6ab4c7b..9d1862b 100755 (executable)
@@ -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);