From 73180fc762f015935950f697822710af3f5bd23d Mon Sep 17 00:00:00 2001 From: ManikandanC Date: Fri, 6 Oct 2017 11:37:31 +0530 Subject: Use poll in the dlt-daemon for POSIX compliance The poll system call is now used in the daemon to enable DLT use in POSIX compliant systems. Also added introduced new unregister_app macro to avoid missing of logs in startup buffer. Signed-off-by: Frederic Berat Signed-off-by: ManikandanC Signed-off-by: Saya Sugiura Signed-off-by: S. Hameed --- src/tests/dlt-test-multi-process.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/tests/dlt-test-multi-process.c') diff --git a/src/tests/dlt-test-multi-process.c b/src/tests/dlt-test-multi-process.c index c5c8ddd..0726b9a 100644 --- a/src/tests/dlt-test-multi-process.c +++ b/src/tests/dlt-test-multi-process.c @@ -62,6 +62,10 @@ #define MAX_PROCS 100 #define MAX_THREADS 100 +#ifndef WAIT_ANY +#define WAIT_ANY -1 +#endif + // Structs typedef struct { int nmsgs; // Number of messages to send -- cgit v1.2.1