测试QT读写锁(QReadWriteLock )和互斥锁(QReadWriteLock )的执行效率
上代码:#include#include#include#includeintmain(intargc,char*argv[]){QCoreApplicationa(argc,argv);qSetMessagePattern("(%{timehh:mm:ss.zzz}%{threadid}%{file}:%{line}):\t%{message}");QListlist_report;for(in