summaryrefslogtreecommitdiff
path: root/AudioManagerUtilities/include/CAmSocketHandler.h
diff options
context:
space:
mode:
authorJens Lorenz <jlorenz@de.adit-jv.com>2018-04-09 16:54:02 +0200
committerJens Lorenz <jlorenz@de.adit-jv.com>2018-04-09 17:04:42 +0200
commitab3eea9263623394272017e3f2987d66ab2eb28f (patch)
treee49cc2aa5a48972a240855c615e07372d64899a4 /AudioManagerUtilities/include/CAmSocketHandler.h
parent1dc989ac6496b306c33ed77b52855dd62a61f3ca (diff)
downloadaudiomanager-ab3eea9263623394272017e3f2987d66ab2eb28f.tar.gz
AMUtil: Store signalfd as file descriptor instead of pollfd handle
Signed-off-by: Jens Lorenz <jlorenz@de.adit-jv.com>
Diffstat (limited to 'AudioManagerUtilities/include/CAmSocketHandler.h')
-rw-r--r--AudioManagerUtilities/include/CAmSocketHandler.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/AudioManagerUtilities/include/CAmSocketHandler.h b/AudioManagerUtilities/include/CAmSocketHandler.h
index 5ce7f54..797551d 100644
--- a/AudioManagerUtilities/include/CAmSocketHandler.h
+++ b/AudioManagerUtilities/include/CAmSocketHandler.h
@@ -294,6 +294,7 @@ class CAmSocketHandler
typedef uint8_t internal_codes_t;
int mEventFd;
+ int mSignalFd;
bool mDispatchDone; //this starts / stops the mainloop
MapShPoll_t mMapShPoll; //!<list that holds all information for the ppoll
@@ -306,7 +307,6 @@ class CAmSocketHandler
sh_identifier_s mSetSignalhandlerKeys; //!A set of all used signal handler keys
VectorSignalHandlers_t mSignalHandlers;
internal_codes_t mInternalCodes;
- sh_pollHandle_t mSignalFdHandle;
#ifndef WITH_TIMERFD
timespec mStartTime; //!<here the actual time is saved for timecorrection
#endif
@@ -448,8 +448,6 @@ private:
* @return handle
*/
bool nextHandle(sh_identifier_s & handle);
-
- am_Error_e getFDPollData(const sh_pollHandle_t handle, sh_poll_s & outPollData);
public: