Poll tests

This commit is contained in:
sangelovic committed 2020-01-12 13:10:34 +01:00
1 parent 5121d46eed
commit cb118f95b7
7 files changed
+602 -506

No files matched your search

+5
View File
@@ -30,6 +30,10 @@
#include "proxy-glue.h"
#include <atomic>
#include <unistd.h>
#include <sys/syscall.h>
#define gettid() syscall(SYS_gettid)
class TestingProxy : public sdbus::ProxyInterfaces< ::testing_proxy
, sdbus::Peer_proxy
, sdbus::Introspectable_proxy
@@ -57,6 +61,7 @@ protected:
void onSimpleSignal() override
{
m_gotSimpleSignal = true;
printf("Thread %d: Got simple signal\n", gettid());
}
void onSignalWithMap(const std::map<int32_t, std::string>& m) override