mirror of
https://github.com/QuantumLeaps/qpc.git
synced 2025-02-04 07:13:16 +08:00
9 lines
139 B
C
9 lines
139 B
C
|
QMutex mux;
|
||
|
. . .
|
||
|
mux = QK_mutexLock(PRIO_CEILING);
|
||
|
|
||
|
/* access the shared resource */
|
||
|
|
||
|
QK_mutexUnlock(mux);
|
||
|
|
||
|
. . .
|