guest_server: work-around code for non-blocking code
authorJinhyung Choi <jinhyung2.choi@samsung.com>
Wed, 25 Jun 2014 09:27:55 +0000 (18:27 +0900)
committerJinhyung Choi <jinhyung2.choi@samsung.com>
Wed, 25 Jun 2014 09:27:55 +0000 (18:27 +0900)
guest server will be rebuilt.

Change-Id: Ieebf07e202163ec28bed09aa9d1e8e1d08ea9f94
Signed-off-by: Jinhyung Choi <jinhyung2.choi@samsung.com>
tizen/src/guest_server.c

index 5c00f89db07f1f820f1db580eab6ca7a0d9933f6..bf2d5d526c1a16ab1a3a930bad83550a3344729b 100644 (file)
@@ -537,6 +537,12 @@ static void server_process(void)
         TRACE("readbuf:%s\n", readbuf);
 
         command_handler(readbuf, &client_addr);
+
+#ifdef _WIN32
+        Sleep(2);
+#else
+        usleep(2000);
+#endif
     }
 }