Remove unnecessary sleep() when waiting for reply 00/107000/2
authorJi-hoon Lee <dalton.lee@samsung.com>
Mon, 26 Dec 2016 05:36:02 +0000 (14:36 +0900)
committerJi-hoon Lee <dalton.lee@samsung.com>
Mon, 26 Dec 2016 06:25:02 +0000 (15:25 +0900)
Change-Id: I24b65e927e8f30c8715d006f5cc7511573903fc0

ism/src/scim_helper.cpp

index 629f700..f797532 100644 (file)
@@ -863,8 +863,6 @@ HelperAgent::wait_for_message(int cmd, int timeout)
 
         gettimeofday(&t1, NULL);
         etime = ((t1.tv_sec * 1000000 + t1.tv_usec) - (t0.tv_sec * 1000000 + t0.tv_usec)) / 1000;
-
-        usleep(100 * 1000);
     } while (etime < timeout);
 
     return false;