diff options
author | Aleksandar Donchev <Aleksander.Donchev@partner.bmw.de> | 2017-09-28 17:09:28 +0200 |
---|---|---|
committer | Aleksander Donchev <aleksandar.donchev@telemotive.de> | 2017-09-29 10:33:42 +0200 |
commit | 955847cc5bb490d768a2282ea396b7ef16319631 (patch) | |
tree | 990c6b712792470e692d476b82f4a4611de86b6f /AudioManagerUtilities/include/CAmSocketHandler.h | |
parent | 4b89b2e5ab6b4788f56122e6eff0e59eae918800 (diff) | |
download | audiomanager-955847cc5bb490d768a2282ea396b7ef16319631.tar.gz |
* All methods in CAPI wrapper with connectionID parameter are deprecated because CommonAPI creates new filedescriptor per connection which isn't needed.
* revents flag is passed to the CommonAPI watcher instead events
* revents set to 0 in Sockethandler
Signed-off-by: Christian Linke <christian.linke@bmw.de>
Change-Id: I9d9d2c424ac9fad62c76a66545c731c518adb2e4
Diffstat (limited to 'AudioManagerUtilities/include/CAmSocketHandler.h')
-rw-r--r-- | AudioManagerUtilities/include/CAmSocketHandler.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/AudioManagerUtilities/include/CAmSocketHandler.h b/AudioManagerUtilities/include/CAmSocketHandler.h index 6163b3c..8809a30 100644 --- a/AudioManagerUtilities/include/CAmSocketHandler.h +++ b/AudioManagerUtilities/include/CAmSocketHandler.h @@ -305,14 +305,13 @@ class CAmSocketHandler internal_codes_t mInternalCodes; sh_pollHandle_t mSignalFdHandle; VectorListPoll_t mListActivePolls; + const std::thread::id mThreadID; //!< Socket handler thread id used to check if the calls come from the same thread #ifndef WITH_TIMERFD timespec mStartTime; //!<here the actual time is saved for timecorrection #endif private: - static void checkCallerThreadId(void); - bool fdIsValid(const int fd) const; timespec* insertTime(timespec& buffertime); @@ -500,8 +499,6 @@ public: void exit_mainloop(); bool fatalErrorOccurred(); - - static const std::thread::id SOCKETHANDLER_THREAD_ID; }; } /* namespace am */ |