<s>
QP	B-Application
(	O
"	O
Quantum	O
Platform	O
"	O
)	O
is	O
a	O
family	O
of	O
open	B-Application
source	I-Application
real-time	O
embedded	O
frameworks	O
(	O
RTEFs	O
)	O
and	O
runtime	O
environments	O
based	O
on	O
active	O
objects	O
(	O
actors	O
)	O
and	O
hierarchical	B-Application
state	I-Application
machines	I-Application
(	O
UML	B-Application
statecharts	I-Application
)	O
.	O
</s>
<s>
The	O
QP	B-Application
family	O
consists	O
of	O
the	O
lightweight	O
QP/C	O
and	O
QP/C	O
++	O
frameworks	O
,	O
written	O
in	O
C	B-Language
(	O
C99	B-Language
)	O
and	O
C++	B-Language
(	O
C++11	B-Language
)	O
,	O
respectively	O
.	O
</s>
<s>
The	O
QP	B-Application
RTEFs	O
are	O
an	O
implementation	O
of	O
the	O
Active	O
Object	O
(	O
Actor	O
)	O
model	O
of	O
computation	O
,	O
specifically	O
tailored	O
for	O
real-time	O
embedded	O
(	O
RTE	O
)	O
systems	O
.	O
</s>
<s>
Active	O
Objects	O
(	O
Actors	O
)	O
can	O
be	O
combined	O
with	O
a	O
wide	O
variety	O
of	O
threading	O
models	O
,	O
including	O
real-time	B-Operating_System
kernels	I-Operating_System
(	O
RTOS	B-Operating_System
kernels	O
)	O
.	O
</s>
<s>
In	O
the	O
latter	O
case	O
,	O
the	O
combination	O
,	O
carefully	O
designed	O
for	O
deterministic	O
performance	O
,	O
is	O
called	O
the	O
Real-Time	O
Embedded	O
Framework	B-Architecture
(	O
RTEF	O
)	O
.	O
</s>
<s>
This	O
results	O
in	O
applications	O
that	O
are	O
safer	O
,	O
more	O
responsive	O
,	O
and	O
easier	O
to	O
manage	O
than	O
the	O
"	O
naked	O
"	O
threads	O
and	O
the	O
myriad	O
of	O
blocking	O
mechanisms	O
of	O
a	O
traditional	O
Real-Time	B-Operating_System
Operating	I-Operating_System
System	I-Operating_System
(	O
RTOS	B-Operating_System
)	O
.	O
</s>
<s>
The	O
QP	B-Application
frameworks	I-Application
also	O
provide	O
a	O
higher	O
level	O
of	O
abstraction	O
and	O
the	O
right	O
abstractions	O
to	O
effectively	O
apply	O
graphical	O
modeling	O
and	O
code	O
generation	O
to	O
deeply	O
embedded	B-Architecture
systems	I-Architecture
.	O
</s>
<s>
The	O
main	O
difference	O
between	O
an	O
RTOS	B-Operating_System
and	O
a	O
(	O
real-time	O
)	O
framework	B-Architecture
is	O
that	O
when	O
you	O
use	O
a	O
"	O
naked	O
"	O
RTOS	B-Operating_System
,	O
you	O
write	O
the	O
main	O
body	O
of	O
each	O
and	O
every	O
thread	O
in	O
the	O
application	O
and	O
from	O
there	O
,	O
you	O
call	O
the	O
various	O
RTOS	B-Operating_System
services	O
(	O
e.g.	O
,	O
a	O
time-delay	O
or	O
a	O
semaphore	O
)	O
.	O
</s>
<s>
When	O
you	O
use	O
a	O
framework	B-Architecture
,	O
you	O
reuse	O
the	O
overall	O
architecture	O
(	O
such	O
as	O
the	O
event	O
loop	O
for	O
all	O
private	O
threads	O
of	O
Active	O
Objects	O
)	O
and	O
you	O
only	O
write	O
the	O
code	O
that	O
the	O
RTEF	O
calls	O
.	O
</s>
<s>
In	O
contrast	O
,	O
a	O
“	O
naked	O
”	O
RTOS	B-Operating_System
lets	O
you	O
do	O
anything	O
and	O
offers	O
no	O
help	O
or	O
automation	B-Application
for	O
the	O
best	O
practices	O
.	O
</s>
<s>
The	O
behavior	O
of	O
active	O
objects	O
(	O
actors	O
)	O
is	O
specified	O
in	O
QP	B-Application
by	O
means	O
of	O
hierarchical	B-Application
state	I-Application
machines	I-Application
(	O
UML	B-Application
statecharts	I-Application
)	O
.	O
</s>
<s>
The	O
frameworks	O
support	O
manual	O
coding	O
of	O
UML	B-Application
state	I-Application
machines	I-Application
in	O
C	B-Language
or	O
C++	B-Language
as	O
well	O
as	O
fully	O
automatic	B-Application
code	I-Application
generation	I-Application
by	O
means	O
of	O
the	O
free	O
graphical	O
QM	O
modeling	O
tool	O
.	O
</s>
<s>
The	O
QP	B-Application
frameworks	I-Application
and	O
the	O
QM	O
modeling	O
tool	O
are	O
used	O
in	O
medical	O
devices	O
,	O
defense	O
&	O
aerospace	O
,	O
robotics	O
,	O
consumer	O
electronics	O
,	O
wired	O
and	O
wireless	O
telecommunication	O
,	O
industrial	B-Application
automation	I-Application
,	O
transportation	O
,	O
and	O
many	O
more	O
.	O
</s>
<s>
QP	B-Application
consists	O
of	O
a	O
universal	O
UML-compliant	O
event	O
processor	O
(	O
QEP	O
)	O
,	O
a	O
portable	O
,	O
event-driven	O
,	O
real-time	O
framework	B-Architecture
(	O
QF	O
)	O
,	O
a	O
selection	O
of	O
built-in	O
real-time	B-Operating_System
kernels	I-Operating_System
(	O
QV	O
,	O
QK	O
,	O
or	O
QXK	O
)	O
,	O
and	O
a	O
software	O
tracing	O
system	O
(	O
QS	O
)	O
.	O
</s>
<s>
QEP	O
(	O
QP	B-Application
Event	O
Processor	O
)	O
is	O
a	O
universal	O
UML-compliant	O
event	O
processor	O
that	O
enables	O
direct	O
coding	O
of	O
UML	B-Application
state	I-Application
machines	I-Application
(	O
UML	B-Application
statecharts	I-Application
)	O
in	O
highly	O
maintainable	O
C	B-Language
or	O
C++	B-Language
,	O
in	O
which	O
every	O
state	O
machine	O
element	O
is	O
mapped	O
to	O
code	O
precisely	O
,	O
unambiguously	O
,	O
and	O
exactly	O
once	O
(	O
traceability	B-Device
)	O
.	O
</s>
<s>
QF	O
(	O
QP	B-Application
Active	O
Object	O
Framework	B-Architecture
)	O
is	O
a	O
highly	O
portable	O
,	O
event-driven	O
,	O
real-time	O
application	B-Application
framework	I-Application
for	O
concurrent	O
execution	O
of	O
Active	O
Objects	O
specifically	O
designed	O
for	O
real-time	O
embedded	B-Architecture
systems	I-Architecture
.	O
</s>
<s>
QV	O
(	O
Coopeartve	O
Kernel	O
)	O
is	O
a	O
tiny	O
cooperative	B-Operating_System
kernel	O
designed	O
for	O
executing	O
active	O
objects	O
in	O
a	O
run-to-completion	B-Algorithm
(	O
RTC	O
)	O
fashion	O
.	O
</s>
<s>
QK	O
(	O
Preemptive	O
Kernel	O
)	O
is	O
a	O
tiny	O
preemptive	O
non-blocking	O
run-to-completion	B-Algorithm
kernel	O
designed	O
specifically	O
for	O
executing	O
state	O
machines	O
in	O
a	O
run-to-completion	B-Algorithm
(	O
RTC	O
)	O
fashion	O
.	O
</s>
<s>
QS	O
(	O
QP/Spy	O
)	O
is	O
a	O
software	O
tracing	O
system	O
that	O
enables	O
live	O
monitoring	O
of	O
event-driven	O
QP	B-Application
applications	O
with	O
minimal	O
target	O
system	O
resources	O
and	O
without	O
stopping	O
or	O
significantly	O
slowing	O
down	O
the	O
code	O
.	O
</s>
<s>
The	O
QP	B-Application
RTEFs	O
can	O
run	O
standalone	O
,	O
completely	O
replacing	O
the	O
traditional	O
RTOS	B-Operating_System
.	O
</s>
<s>
The	O
frameworks	O
contain	O
a	O
selection	O
of	O
built-in	O
real-time	B-Operating_System
kernels	I-Operating_System
,	O
such	O
as	O
the	O
cooperative	B-Operating_System
QV	O
kernel	O
,	O
the	O
preemptive	O
non-blocking	O
QK	O
kernel	O
,	O
and	O
the	O
unique	O
preemptive	O
,	O
dual-mode	O
(	O
blocking/non	O
-blocking	O
)	O
QXK	O
kernel	O
.	O
</s>
<s>
Standalone	O
QP	B-Application
ports	O
and	O
ready-to-use	O
examples	O
are	O
provided	O
for	O
ARM	O
Cortex-Mas	O
,	O
well	O
as	O
other	O
CPUs	O
.	O
</s>
<s>
The	O
QP	B-Application
RTEFs	O
can	O
also	O
work	O
with	O
many	O
traditional	O
third-party	O
RTOSes	O
.	O
</s>
<s>
QP	B-Application
ports	O
and	O
ready-to-use	O
examples	O
are	O
provided	O
for	O
several	O
RTOSes	O
(	O
such	O
as	O
Segger	O
Microcontroller	O
Systems	O
#embOS	O
,	O
ThreadX	B-Operating_System
,	O
FreeRTOS	B-Operating_System
,	O
uC/OS	B-Operating_System
-II	I-Operating_System
,	O
etc	O
.	O
)	O
</s>
<s>
The	O
most	O
important	O
reason	O
why	O
you	O
might	O
consider	O
using	O
a	O
traditional	O
RTOS	B-Operating_System
kernel	O
for	O
executing	O
event-driven	O
QP	B-Application
applications	O
is	O
compatibility	O
with	O
the	O
existing	O
software	O
.	O
</s>
<s>
A	O
traditional	O
RTOS	B-Operating_System
allows	O
you	O
to	O
run	O
the	O
existing	O
software	O
components	O
as	O
regular	O
“	O
blocking	O
”	O
threads	O
in	O
parallel	O
to	O
the	O
event-driven	O
QP™	O
active	O
objects	O
.	O
</s>
<s>
The	O
QP	B-Application
RTEFs	O
can	O
also	O
work	O
with	O
general	O
purpose	O
OSes	O
,	O
such	O
as	O
Linux	B-Application
(	O
POSIX	O
)	O
,	O
Windows	O
,	O
and	O
macOS	B-Application
.	O
</s>
<s>
The	O
QP	B-Application
ports	O
to	O
the	O
general	O
purpose	O
operating	O
systems	O
are	O
interested	O
in	O
their	O
own	O
right	O
.	O
</s>
<s>
For	O
example	O
,	O
the	O
QP	B-Application
port	O
to	O
POSIX	O
supports	O
real-time	O
extensions	O
and	O
works	O
with	O
embedded	O
Linux	B-Application
,	O
and	O
POSIX	O
subsystems	O
of	O
such	O
RTOSes	O
as	O
:	O
QNX	B-Operating_System
,	O
INTEGRITY	O
,	O
VxWorks	B-Operating_System
,	O
etc	O
.	O
</s>
<s>
Similarly	O
,	O
QP	B-Application
port	O
to	O
Windows	O
can	O
work	O
with	O
Windows	O
IoT	O
or	O
Windows	O
Embedded	O
Compact	O
.	O
</s>
<s>
QP	B-Application
framework	I-Application
are	O
dual-licensed	B-License
under	O
the	O
open	B-Application
source	I-Application
GPLv3	B-License
and	O
a	O
selection	O
of	O
traditional	O
,	O
closed-source	O
licenses	O
.	O
</s>
<s>
Users	O
who	O
wish	O
to	O
distribute	O
QP	B-Application
(	O
e.g.	O
</s>
<s>
embedded	O
inside	O
devices	O
)	O
can	O
retain	O
the	O
proprietary	O
status	O
of	O
their	O
code	O
by	O
applying	O
for	O
a	O
commercial	B-License
license	O
.	O
</s>
