qt线程睡眠

头文件

#include <QThread>

接口函数:

void QThread::sleep ( unsigned long secs )   [static protected]
void QThread::msleep ( unsigned long msecs )   [static protected]
void QThread::usleep ( unsigned long usecs )   [static protected]

调用示例:

QThread::msleep(100);
posted @ 2019-01-09 16:41  youngliu91  阅读(833)  评论(0编辑  收藏  举报