Change the epoll timeout value for remove repeated dlog 73/66473/1 accepted/tizen/common/20160419.143446 accepted/tizen/mobile/20160419.151717 accepted/tizen/wearable/20160419.152211 submit/tizen/20160419.083238
authorJihoon Jung <jh8801.jung@samsung.com>
Tue, 19 Apr 2016 05:59:15 +0000 (14:59 +0900)
committerJihoon Jung <jh8801.jung@samsung.com>
Tue, 19 Apr 2016 06:00:14 +0000 (15:00 +0900)
Signed-off-by: Jihoon Jung <jh8801.jung@samsung.com>
Change-Id: I3c813d8ec1a016da54ca5f0009ce09f03812037f

packaging/nfc-plugin-emul.spec
src/oem/oem_emul.c

index 0e2dfd7..7051449 100644 (file)
@@ -1,6 +1,6 @@
 Name:       nfc-plugin-emul
 Summary:    NFC emul plugin
-Version:    0.0.15
+Version:    0.0.16
 Release:    0
 Group:      TO_BE/FILLED_IN
 License:    Apache-2.0
index a810d8c..d5a2b8e 100644 (file)
@@ -1693,7 +1693,7 @@ static void emul_ReaderThread(void * pArg)
                        condition = 0;
                }
 
-               while((num_of_files = epoll_wait(emulMsg_poll_fd, emulMsg_poll_events, EPOLL_SIZE, 300)) == 0){
+               while((num_of_files = epoll_wait(emulMsg_poll_fd, emulMsg_poll_events, EPOLL_SIZE, -1)) == 0){
                        if(emulMsg_poll_fd == -1){
                                DEBUG_MSG("client ipc thread is terminated");
                                condition = 0;