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

+14
View File
@@ -50,6 +50,20 @@ public:
protected:
int32_t doSignalEmission() override
{
static int32_t counter = 0;
emitSimpleSignal();
printf("First simple signal thrown\n");
counter++;
std::this_thread::sleep_for(std::chrono::milliseconds(10));
//emitSimpleSignal();
//printf("Second simple signal thrown\n");
counter++;
return counter;
}
void noArgNoReturn() const
{
}