(37f1fb78eeb107d593f9a7bf0491466a1c60e068)
Go to the source code of this file.
◆ acquire() [1/3]
◆ acquire() [2/3]
◆ acquire() [3/3]
◆ cancel()
◆ if()
Initial value:{
The QSemaphoreReleaser class provides exception-safe deferral of a QSemaphore::release() call.
const QSemaphoreReleaser releaser(sem)
[4]
[5]
[6]
Definition at line 59 of file src_corelib_thread_qsemaphore.cpp.
◆ release() [1/3]
[tryAcquire-QDeadlineTimer]
[4]
◆ release() [2/3]
◆ release() [3/3]
◆ tryAcquire() [1/7]
◆ tryAcquire() [2/7]
◆ tryAcquire() [3/7]
sem tryAcquire |
( |
250 | , |
|
|
1000 | ) |
◆ tryAcquire() [4/7]
◆ tryAcquire() [5/7]
◆ tryAcquire() [6/7]
sem tryAcquire |
( |
3 | , |
|
|
30000 | ) |
◆ tryAcquire() [7/7]
◆ releaser
◆ sem
[0]
[1]
[2]
[3]
[tryAcquire-QDeadlineTimer]