Comments (3)
The Q_NEW_REF() API is an advanced optimization, which is intended to be used only for frequent dynamic events, where such optimization is actually worth it. In all other cases, any information from an event that is needed beyond the current RTC step should be simply copied into the private data of the AO.
The QF::newRef_(), which underlines the Q_NEW_REF() macro, already asserts that the event is dynamic. This is exactly per the intent.
--MMS
from qpcpp.
I understand why it's needed. I'm saying that it needs to support non-dynamic events., i.e remove the assert
from qpcpp.
I'm not sure if removing the assert is a good idea. Without the asset the "event-reference" mechanism could be abused for static events.
from qpcpp.
Related Issues (19)
- [Qpccp 6.9.2] test of assertion fail now. HOT 1
- Transition to new state from entry signal HOT 4
- Stack top/bottom argument (uc-os-ii port) HOT 1
- 'struct k_msgq' has no member named 'maxMsg' (Zephyr port QSPY) HOT 2
- me' was not declared in this scope (Zephyr port) HOT 1
- Zephyr QSpy port HOT 10
- Zephyr module name HOT 1
- Undefined reference to QP::QS::onCommand() method HOT 3
- Two onStartup() callbacks in qk.cpp run() HOT 2
- error: '_Noreturn' does not name a type HOT 2
- Missing (direct) documentation of QEVT_DYN_CTOR HOT 1
- Broken link in example README HOT 1
- CMakeLists.txt missing in 'ports' HOT 2
- __NVIC_PRIO_BITS not declared in scope HOT 1
- Error on Line 169 include/qep.hpp HOT 2
- No Windows QActive::stop() implementation causes compiliation failure HOT 1
- philo tests in qutest example not compiling HOT 1
- QHsm::isIn should support calls from super state HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from qpcpp.