PIThread::stopAndWait

This commit is contained in:
2022-11-09 17:02:28 +03:00
parent d3dd3fb32b
commit db5c4dcf3f
2 changed files with 10 additions and 0 deletions

View File

@@ -111,6 +111,10 @@ public:
EVENT_HANDLER1(void, stop, bool, wait);
EVENT_HANDLER0(void, terminate);
//! \~english Stop thread and wait for finish.
//! \~russian Останавливает потоков и ожидает завершения.
void stopAndWait(int timeout_ms = -1);
void interrupt();
//! \~english Set common data passed to external function