Dining Philosophers Problem (DPP) example for the QP active object framework. Demonstrates: event-driven programming, hierarchical state machines in C++, modeling and graphical state machine design, code generation, preemptive multitasking, software tracing, power saving mode, direct event posting, publish-subscribe. More information available in the [[/users/QL/notebook|Quantum Leaps Notebook pages]]. See also [[http://www.state-machine.com|state-machine.com]].

Dependencies:   mbed qp

Files at this revision

API Documentation at this revision

Comitter:
QL
Date:
Mon Feb 14 01:24:01 2011 +0000
Parent:
0:efb9ac8d1a88
Child:
2:2e62e514f323
Commit message:

Changed in this revision

qp_config.h Show annotated file Show diff for this revision Revisions of this file
--- a/qp_config.h	Sat Feb 12 23:22:47 2011 +0000
+++ b/qp_config.h	Mon Feb 14 01:24:01 2011 +0000
@@ -29,7 +29,7 @@
 #define qp_config_h
 
 // enable the Q-SPY software tracing instrumentation
-//#define Q_SPY
+#define Q_SPY
 
 // enable preemptive QK kernel
 #define QK_PREEMPTIVE
@@ -37,7 +37,4 @@
 // The maximum number of active objects in the application (could be up to 63)
 #define QF_MAX_ACTIVE      16
 
-// The signal size (1, 2, 4 bytes)
-#define Q_SIGNAL_SIZE      2
-
 #endif                                                          // qp_config_h