QtBase
v6.3.1
|
#include <QtCore/QtCore>
#include <QTest>
#include <math.h>
#include <condition_variable>
#include <mutex>
#include <limits.h>
#include "tst_bench_qwaitcondition.moc"
Go to the source code of this file.
Classes | |
class | tst_QWaitCondition |
class | OscillateThread< Cond, Mutex, Locker > |
class | OscillateThread< QWaitCondition, Mutex, Locker > |
Functions | |
template<typename Cond > | |
Cond * | get () |
template<> | |
std::condition_variable * | get () |
template<class Cond , class Mutex , class Locker > | |
void | oscillate (unsigned long timeout) |
Variables | |
int | turn |
const int | threadCount = 10 |
QWaitCondition | cond |
std::condition_variable | cv |
std::condition_variable_any | cva |
Cond* get | ( | ) |
Definition at line 75 of file tst_bench_qwaitcondition.cpp.
std::condition_variable_any * get | ( | ) |
Definition at line 75 of file tst_bench_qwaitcondition.cpp.
void oscillate | ( | unsigned long | timeout | ) |
Definition at line 127 of file tst_bench_qwaitcondition.cpp.
QWaitCondition cond |
Definition at line 68 of file tst_bench_qwaitcondition.cpp.
std::condition_variable cv |
Definition at line 69 of file tst_bench_qwaitcondition.cpp.
std::condition_variable_any cva |
Definition at line 70 of file tst_bench_qwaitcondition.cpp.
const int threadCount = 10 |
Definition at line 67 of file tst_bench_qwaitcondition.cpp.
int turn |
Definition at line 66 of file tst_bench_qwaitcondition.cpp.