Hi
I develop a plugin which use the 'createprocess' to call the cmd for realizing the function,however when i use the 'waitforsingleobject' to monitor that if the cmd has exited,the program always become no responding,so i think that i should create new thread for the plugin,but i don't konw how to do that,if everyone know,please tell me!
Thanks a lot
Authur
How can i make a new thread for my plugin
Re: How can i make a new thread for my plugin
You could either use the "Qt Concurrent" framework (see https://doc.qt.io/qt-5/qtconcurrent-index.html).
Or create a QThread, etc.
Or create a QThread, etc.
Daniel, CloudCompare admin
Re: How can i make a new thread for my plugin
ok!thanks a lot!