mirror of
https://github.com/QuantumLeaps/qpcpp.git
synced 2025-01-28 06:02:56 +08:00
6.2.0
This commit is contained in:
parent
2b9ed5a754
commit
f8ade3a4a9
@ -17,6 +17,8 @@ Also, this release adds new QUTest exampes, which illustrate:
|
||||
- event deferral (`qpcpp/examples/qutest/defer`)
|
||||
- dispatching/posting events with parameters (`qpcpp/examples/qutest/evt_par`).
|
||||
|
||||
Additionally, this release updates the QP/C++ ports to win32-qv and posix-qv to allow a "tickless" mode, where the "tickerThread" is not created. This mode is set by configuring the system clock tick rate to 0 (QF_setTickRate(0)).
|
||||
|
||||
Finally, this release phases out the `qp_port.h` header file. If any of your projects still includes this file, please replace it with the qpc.h heder file.
|
||||
|
||||
|
||||
|
6522
doxygen/metrics.dox
6522
doxygen/metrics.dox
File diff suppressed because it is too large
Load Diff
@ -3,7 +3,7 @@
|
||||
/// @cond
|
||||
///***************************************************************************
|
||||
/// Last updated for version 6.2.0
|
||||
/// Last updated on 2018-04-05
|
||||
/// Last updated on 2018-04-09
|
||||
///
|
||||
/// Q u a n t u m L e a P s
|
||||
/// ---------------------------
|
||||
@ -169,6 +169,10 @@ int_t QF::run(void) {
|
||||
while (QV_readySet_.isEmpty()) {
|
||||
pthread_cond_wait(&QV_condVar_, &QF_pThreadMutex_);
|
||||
}
|
||||
|
||||
QF_INT_ENABLE();
|
||||
// enable "interrupts" to let other threads run...
|
||||
QF_INT_DISABLE();
|
||||
}
|
||||
}
|
||||
QF_INT_ENABLE();
|
||||
|
@ -2,8 +2,8 @@
|
||||
/// \brief QF/C++ port to Win32 API with cooperative QV scheduler (win32-qv)
|
||||
/// \cond
|
||||
///***************************************************************************
|
||||
/// Last updated for version 6.1.1
|
||||
/// Last updated on 2018-03-06
|
||||
/// Last updated for version 6.2.0
|
||||
/// Last updated on 2018-04-09
|
||||
///
|
||||
/// Q u a n t u m L e a P s
|
||||
/// ---------------------------
|
||||
|
@ -78,10 +78,10 @@ namespace QP {
|
||||
void QF_enterCriticalSection_(void);
|
||||
void QF_leaveCriticalSection_(void);
|
||||
|
||||
// set clock tick rate
|
||||
void QF_setTickRate(uint32_t ticksPerSec);
|
||||
// set clock tick rate (NOTE ticksPerSec==0 disables the "ticker thread"
|
||||
void QF_setTickRate(uint32_t ticksPerSec); /* set clock tick rate */
|
||||
|
||||
// clock tick callback (provided in the app)
|
||||
// clock tick callback (NOTE not called when "ticker thread" is not running)
|
||||
void QF_onClockTick(void);
|
||||
|
||||
} // namespace QP
|
||||
|
Loading…
x
Reference in New Issue
Block a user