PIEthernet more accuracy construct

PIThread windows fix
This commit is contained in:
2024-09-17 16:11:18 +03:00
parent e186e0adff
commit bdd18b614f
4 changed files with 30 additions and 16 deletions

View File

@@ -937,6 +937,7 @@ void PIThread::_endThread() {
UNREGISTER_THREAD(this);
PIINTROSPECTION_THREAD_STOP(this);
#if defined(WINDOWS)
ec.callAndCancel();
# ifdef CC_GCC
_endthreadex(0);
# else