Qt5多线程同步

时间:2021-09-03 03:29:18
【文件属性】:
文件名称:Qt5多线程同步
文件大小:12KB
文件格式:RAR
更新时间:2021-09-03 03:29:18
code 用信号量实现两个线程间的交替执行,相对于条件变量更简单
【文件预览】:
testSemaphore
----mythread1.cpp(393B)
----gdata.cpp(123B)
----testSemaphore.pro(274B)
----testSemaphore.pro.user(23KB)
----mythread.cpp(400B)
----mythread1.h(245B)
----gdata.h(235B)
----main.cpp(321B)
----Makefile(24KB)
----mythread.h(238B)
----Makefile.Debug(26KB)
----Makefile.Release(26KB)

网友评论