From e9240071f34ae96f72f4befd19f6fa68cc721ad1 Mon Sep 17 00:00:00 2001 From: Jens Lorenz Date: Wed, 4 Apr 2018 09:43:43 +0200 Subject: AMUtil: Change from mPipe to eventfd This commit is the first commit of a rework of the CAmSochetHandler class. Signed-off-by: Jens Lorenz --- AudioManagerUtilities/include/CAmSocketHandler.h | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'AudioManagerUtilities/include/CAmSocketHandler.h') diff --git a/AudioManagerUtilities/include/CAmSocketHandler.h b/AudioManagerUtilities/include/CAmSocketHandler.h index 0a696a7..5465839 100644 --- a/AudioManagerUtilities/include/CAmSocketHandler.h +++ b/AudioManagerUtilities/include/CAmSocketHandler.h @@ -277,14 +277,12 @@ class CAmSocketHandler typedef enum:uint8_t { - NO_ERROR = 0u, // OK - PIPE_ERROR = 1u, // Pipe error - FD_ERROR = 2u, // Invalid file descriptor - SFD_ERROR = 4u, + NO_ERROR = 0u, // OK + FD_ERROR = 1u, // Invalid file descriptor } internal_codes_e; typedef uint8_t internal_codes_t; - int mPipe[2]; + int mEventFd; bool mDispatchDone; //this starts / stops the mainloop sh_identifier_s mSetPollKeys; //!A set of all used ppoll keys -- cgit v1.2.1