This commit is contained in:
QL 2018-04-09 13:25:49 -04:00
parent 2b9ed5a754
commit f8ade3a4a9
5 changed files with 3273 additions and 3267 deletions

View File

@ -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.

View File

@ -9,7 +9,7 @@
License Type: Windows Single User License
Licensed To : Quantum Leaps, LLC
License No. : WS2975 License Date: Dec 15, 2013
Build Date : Sep 2 2009 Run Date: Mar 25, 2018
Build Date : Sep 2 2009 Run Date: Apr 09, 2018
(C)1996-2009 M Squared Technologies LLC
________________________________________________________________________

View File

@ -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();

View File

@ -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
/// ---------------------------

View File

@ -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