QThread::currentThreadId()

来源:互联网 发布:revit mep软件下载 编辑:程序博客网 时间:2024/06/05 01:15

Object::Object(QObject *parent) : QObject(parent) {     cout<<"obj construct:"<<QThread::currentThread()<<endl; }  eg. class MyThread: public QThreadin MyThread::MyThread(){//print the (current) thread id !}






原创粉丝点击