| 129 | lock(); |
| 130 | const QiWorker* worker = worker_last(); |
| 131 | bool active = worker && !worker->m_stop && reinterpret_cast<const QiMacroWorker*>(worker)->running; |
| 132 | unlock(); |
| 133 | return active; |
| 134 | } |
| 135 | bool QiMacroThread::end_active() |
| 136 | { |
| 137 | lock(); |
| 138 | const QiWorker* worker = worker_last(); |
| 139 | bool active = worker && !worker->m_stop && !reinterpret_cast<const QiMacroWorker*>(worker)->running; |
| 140 | unlock(); |
| 141 | return active; |
| 142 | } |
| 143 | |
| 144 | |
| 145 | struct QiQuickClickWorker : QiWorker |
| 146 | { |
| 147 | void run() override |
| 148 | { |