3#include <QtCore/QThread>
17 qCDebug(RuntimeSchedulerLog) <<
this;
22 qCDebug(RuntimeSchedulerLog) <<
this;
27 return QThread::currentThread() == thread();
#define QGC_LOGGING_CATEGORY(name, categoryStr)
Qt event-loop implementation; no callback runs inside schedule().
~RuntimeScheduler() override
bool _canSchedule(QObject *context, std::chrono::microseconds delay, const Callback &callback) const
static constexpr auto MAX_DELAY
RuntimeScheduler(QObject *parent=nullptr)
bool _isCurrentThread() const
std::function< void()> Callback