上QQ阅读APP看书,第一时间看更新
Synchronization
Qt offers the following synchronization objects:
- QMutex
- QReadWriteLock
- QSemaphore
- QWaitCondition (condition variable)
These should be fairly self-explanatory. Another nice feature of Qt's signal-slot architecture is that these also allow one to communicate asynchronously between threads without having to concern oneself with the low-level implementation details.