- Mastering C++ Multithreading
- Maya Posch
- 46字
- 2021-07-15 17:34:05
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.