Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
TestRunnerSystemSemaphore Struct Reference
Collaboration diagram for TestRunnerSystemSemaphore:

Public Member Functions

 TestRunnerSystemSemaphore ()
 ~TestRunnerSystemSemaphore ()
void acquire ()
void release ()
 TestRunnerSystemSemaphore ()
 ~TestRunnerSystemSemaphore ()
void acquire ()
void release ()

Public Attributes

std::atomic< bool > isAcquired { false }
QSystemSemaphore semaphore

Detailed Description

Definition at line 869 of file main.cpp.

Constructor & Destructor Documentation

◆ TestRunnerSystemSemaphore() [1/2]

TestRunnerSystemSemaphore::TestRunnerSystemSemaphore ( )
inline

Definition at line 871 of file main.cpp.

◆ ~TestRunnerSystemSemaphore() [1/2]

TestRunnerSystemSemaphore::~TestRunnerSystemSemaphore ( )
inline

Definition at line 872 of file main.cpp.

References release().

Here is the call graph for this function:

◆ TestRunnerSystemSemaphore() [2/2]

TestRunnerSystemSemaphore::TestRunnerSystemSemaphore ( )
inline

Definition at line 871 of file main.cpp.

◆ ~TestRunnerSystemSemaphore() [2/2]

TestRunnerSystemSemaphore::~TestRunnerSystemSemaphore ( )
inline

Definition at line 872 of file main.cpp.

Member Function Documentation

◆ acquire() [1/2]

void TestRunnerSystemSemaphore::acquire ( )
inline

Definition at line 874 of file main.cpp.

Referenced by main().

Here is the caller graph for this function:

◆ acquire() [2/2]

void TestRunnerSystemSemaphore::acquire ( )
inline

Definition at line 874 of file main.cpp.

◆ release() [1/2]

void TestRunnerSystemSemaphore::release ( )
inline

Definition at line 876 of file main.cpp.

Referenced by ~TestRunnerSystemSemaphore(), main(), and sigHandler().

Here is the caller graph for this function:

◆ release() [2/2]

void TestRunnerSystemSemaphore::release ( )
inline

Definition at line 876 of file main.cpp.

Member Data Documentation

◆ isAcquired

std::atomic< bool > TestRunnerSystemSemaphore::isAcquired { false }

Definition at line 886 of file main.cpp.

◆ semaphore

QSystemSemaphore TestRunnerSystemSemaphore::semaphore
Initial value:
{ QSystemSemaphore::platformSafeKey(u"androidtestrunner"_s),
1, QSystemSemaphore::Open }

Definition at line 887 of file main.cpp.


The documentation for this struct was generated from the following file: