feat: introduce sd-event integration
This commit is contained in:
1 parent
2efb6909b5
commit
b9aa770f58
14 files changed
+654
-289
No files matched your search
@@ -2,7 +2,7 @@
|
||||
* (C) 2016 - 2021 KISTLER INSTRUMENTE AG, Winterthur, Switzerland
|
||||
* (C) 2016 - 2024 Stanislav Angelovic <stanislav.angelovic@protonmail.com>
|
||||
*
|
||||
* @file TestAdaptor.cpp
|
||||
* @file TestFixture.cpp
|
||||
*
|
||||
* Created on: May 23, 2020
|
||||
* Project: sdbus-c++
|
||||
@@ -28,7 +28,17 @@
|
||||
|
||||
namespace sdbus { namespace test {
|
||||
|
||||
std::unique_ptr<sdbus::IConnection> TestFixture::s_adaptorConnection = sdbus::createSystemBusConnection();
|
||||
std::unique_ptr<sdbus::IConnection> TestFixture::s_proxyConnection = sdbus::createSystemBusConnection();
|
||||
std::unique_ptr<sdbus::IConnection> BaseTestFixture::s_adaptorConnection = sdbus::createSystemBusConnection();
|
||||
std::unique_ptr<sdbus::IConnection> BaseTestFixture::s_proxyConnection = sdbus::createSystemBusConnection();
|
||||
|
||||
#ifndef SDBUS_basu // sd_event integration is not supported in basu-based sdbus-c++
|
||||
|
||||
std::thread TestFixture<SdEventLoop>::s_adaptorEventLoopThread{};
|
||||
std::thread TestFixture<SdEventLoop>::s_proxyEventLoopThread{};
|
||||
sd_event *TestFixture<SdEventLoop>::s_adaptorSdEvent{};
|
||||
sd_event *TestFixture<SdEventLoop>::s_proxySdEvent{};
|
||||
int TestFixture<SdEventLoop>::s_eventExitFd{-1};
|
||||
|
||||
#endif // SDBUS_basu
|
||||
|
||||
}}
|
||||
Reference in new issue
Block a user