mirror of
https://github.com/QuantumLeaps/qpcpp.git
synced 2025-01-28 06:02:56 +08:00
9 lines
138 B
C++
9 lines
138 B
C++
QMutex mux;
|
|
. . .
|
|
mux = QK::mutexLock(PRIO_CEILING);
|
|
|
|
// access the shared resource
|
|
|
|
QK::mutexUnlock(mux);
|
|
|
|
. . .
|