From 0d3dbad205d0aee856fa3ef4870b9f62e85fb01f Mon Sep 17 00:00:00 2001 From: Jihoon Jung Date: Tue, 19 Apr 2016 14:59:15 +0900 Subject: [PATCH] Change the epoll timeout value for remove repeated dlog Signed-off-by: Jihoon Jung Change-Id: I3c813d8ec1a016da54ca5f0009ce09f03812037f --- packaging/nfc-plugin-emul.spec | 2 +- src/oem/oem_emul.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packaging/nfc-plugin-emul.spec b/packaging/nfc-plugin-emul.spec index 0e2dfd7..7051449 100644 --- a/packaging/nfc-plugin-emul.spec +++ b/packaging/nfc-plugin-emul.spec @@ -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 diff --git a/src/oem/oem_emul.c b/src/oem/oem_emul.c index a810d8c..d5a2b8e 100644 --- a/src/oem/oem_emul.c +++ b/src/oem/oem_emul.c @@ -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; -- 2.7.4