I suggest you to better first read docs before writing such things here :)
https://doc.qt.io/qt-5/qthread.html#wait
/time/ milliseconds has elapsed. *If **/time/**is ULONG_MAX (the
default), then the wait will never timeout* (the thread must return from
run <https://doc.qt.io/qt-5/qthread.html#run>())
On 11/26/2019 10:29 AM, Vlad Stelmahovsky wrote:
1. wait() will wait maximum INT_MAX milliseconds and then return false
_______________________________________________
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest