summaryrefslogtreecommitdiff
path: root/AudioManagerUtilities/include/CAmSocketHandler.h
diff options
context:
space:
mode:
authorJens Lorenz <jlorenz@de.adit-jv.com>2018-04-04 09:43:43 +0200
committerJens Lorenz <jlorenz@de.adit-jv.com>2018-04-09 17:00:47 +0200
commite9240071f34ae96f72f4befd19f6fa68cc721ad1 (patch)
treee7704bc8549d3ad9c4ed92836ebf750c4a30d1a8 /AudioManagerUtilities/include/CAmSocketHandler.h
parentea6b62611af630e4bbfb06573d4cae322d71bde7 (diff)
downloadaudiomanager-e9240071f34ae96f72f4befd19f6fa68cc721ad1.tar.gz
AMUtil: Change from mPipe to eventfd
This commit is the first commit of a rework of the CAmSochetHandler class. Signed-off-by: Jens Lorenz <jlorenz@de.adit-jv.com>
Diffstat (limited to 'AudioManagerUtilities/include/CAmSocketHandler.h')
-rw-r--r--AudioManagerUtilities/include/CAmSocketHandler.h8
1 files changed, 3 insertions, 5 deletions
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