Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
src_corelib_kernel_qsystemsemaphore.cpp File Reference

(3ae052d3bb5d7af0badf32575a5aa042cffd8243)

Go to the source code of this file.

Functions

QSystemSemaphore sem (QSystemSemaphore::platformSafeKey("market"), 3, QSystemSemaphore::Create)
 [0]
 
sem acquire ()
 
sem release ()
 
sem release (2)
 
QSystemSemaphore sem (QSystemSemaphore::platformSafeKey("market"), 5, QSystemSemaphore::Create)
 [0]
 
 for (int i=0;i< 5;++i) sem.acquire()
 [3]
 
sem release (5)
 
sem release (10)
 [1]
 

Function Documentation

◆ acquire()

sem acquire ( )

Referenced by QSemaphore::tryAcquire().

+ Here is the caller graph for this function:

◆ for()

for ( )
new

[3]

[4]

Definition at line 37 of file doc_src_containers.cpp.

◆ release() [1/4]

sem release ( )

Referenced by AVFImageCapture::AVFImageCapture(), QMacStyle::QMacStyle(), QQC2_NAMESPACE::QMacStyle::QMacStyle(), QTestPrivate::AppNapDisabler::~AppNapDisabler(), AVFImageCapture::~AVFImageCapture(), AVFMediaEncoder::~AVFMediaEncoder(), AVFVideoSinkInterface::~AVFVideoSinkInterface(), QOpenGLVertexArrayObject::Binder::~Binder(), QAVFScreenCapture::Grabber::~Grabber(), QAppleIconEngine::~QAppleIconEngine(), QAVFCamera::~QAVFCamera(), QCocoaColorPicker::~QCocoaColorPicker(), QCocoaDrag::~QCocoaDrag(), QCocoaEventDispatcher::~QCocoaEventDispatcher(), QCocoaGLContext::~QCocoaGLContext(), QCocoaMenu::~QCocoaMenu(), QCocoaMenuBar::~QCocoaMenuBar(), QCocoaMenuItem::~QCocoaMenuItem(), QCocoaMessageDialog::~QCocoaMessageDialog(), QCocoaWindow::~QCocoaWindow(), QGraphicsFrameCaptureMetal::~QGraphicsFrameCaptureMetal(), QIOSAssetData::~QIOSAssetData(), QIOSContext::~QIOSContext(), QIOSFileDialog::~QIOSFileDialog(), QIOSWindow::~QIOSWindow(), QMacPrintEnginePrivate::~QMacPrintEnginePrivate(), QMacStylePrivate::~QMacStylePrivate(), QQmlDMListAccessorData::~QQmlDMListAccessorData(), QQmlMetaObjectPointer::~QQmlMetaObjectPointer(), QtWaylandClient::QWaylandDataDevice::~QWaylandDataDevice(), QtWaylandClient::QWaylandFullScreenShellV1Integration::~QWaylandFullScreenShellV1Integration(), QtWaylandClient::QWaylandInputDevice::~QWaylandInputDevice(), QtWaylandClient::QWaylandPointerGestures::~QWaylandPointerGestures(), VariantRef::~VariantRef(), avfVideoSettings(), QCocoaEventDispatcherPrivate::cleanupModalSessions(), QQmlContextData::clearParent(), QQmlContextData::clearPublicContext(), QQuickVisualTestUtils::MnemonicKeySimulator::click(), QMetalRenderBuffer::create(), QMetalTexture::create(), QMetalSampler::create(), QMetalComputePipeline::create(), QRhiMetalData::createMetalLib(), QCocoaWindow::createNSWindow(), QMetalSwapChain::createOrResize(), QMetalGraphicsPipeline::createTessellationPipelines(), QMetalGraphicsPipeline::createVertexFragmentPipeline(), QMetalShader::destroy(), QMetalSwapChain::destroy(), QRhiMetal::destroy(), QRhiMetal::endFrame(), QBasicDrag::eventFilter(), QRhiMetal::executeDeferredReleases(), QRhiMetal::finishActiveReadbacks(), QIOSFileDialog::hide(), QIOSMessageDialog::hide(), AVFObjectDeleter::operator()(), NfcDeleter::operator()(), DarwinBluetooth::StrongReference::operator=(), VariantRef::operator=(), QRhiMetal::probe(), qrhimtl_releaseBuffer(), qrhimtl_releaseRenderBuffer(), qrhimtl_releaseSampler(), qrhimtl_releaseTexture(), QMacPrintEnginePrivate::releaseSession(), QCocoaEventDispatcherPrivate::sendQueuedUserInputEvents(), setAVMetadataItemForKey(), QCocoaDrag::setLastMouseEvent(), AVFVideoSinkInterface::setLayer(), QCocoaMenuItem::setMenu(), QCocoaMenuItem::setNativeContents(), AVFVideoSinkInterface::setOutputSettings(), QRhiMetalData::setupBinaryArchive(), QCocoaMenuItem::sync(), AVFScopedPointer< T >::take(), QCocoaEventDispatcherPrivate::temporarilyStopAllModalSessions(), QMetalGraphicsPipelineData::Tessellation::tescCompPipeline(), QMetalGraphicsPipelineData::Tessellation::teseFragRenderPipeline(), QCocoaMenuBar::updateMenuBarImmediately(), and QMetalGraphicsPipelineData::Tessellation::vsCompPipeline().

◆ release() [2/4]

sem release ( 10 )

[1]

[2]

◆ release() [3/4]

sem release ( 2 )

◆ release() [4/4]

sem release ( 5 )

◆ sem() [1/2]

QSystemSemaphore sem ( QSystemSemaphore::platformSafeKey("market") ,
3 ,
QSystemSemaphore::Create  )

[0]

◆ sem() [2/2]

QSystemSemaphore sem ( QSystemSemaphore::platformSafeKey("market") ,
5 ,
QSystemSemaphore::Create  )

[0]

[1]