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

Committer:
QL
Date:
Tue Sep 04 22:41:20 2012 +0000
Revision:
4:6189d844a1a2
Parent:
3:81ceb3127876
Child:
5:15aad9bccbbd
updated for QP 4.5.02

Who changed what in which revision?

UserRevisionLine numberNew contents of line
QL 4:6189d844a1a2 1 //////////////////////////////////////////////////////////////////////////////
QL 4:6189d844a1a2 2 // Product: QP-mbed configuration file
QL 4:6189d844a1a2 3 // Last Updated for Version: 4.5.02
QL 4:6189d844a1a2 4 // Date of the Last Update: Sep 04, 2012
QL 4:6189d844a1a2 5 //
QL 4:6189d844a1a2 6 // Q u a n t u m L e a P s
QL 4:6189d844a1a2 7 // ---------------------------
QL 4:6189d844a1a2 8 // innovating embedded systems
QL 4:6189d844a1a2 9 //
QL 4:6189d844a1a2 10 // Copyright (C) 2002-2012 Quantum Leaps, LLC. All rights reserved.
QL 4:6189d844a1a2 11 //
QL 4:6189d844a1a2 12 // This program is open source software: you can redistribute it and/or
QL 4:6189d844a1a2 13 // modify it under the terms of the GNU General Public License as published
QL 4:6189d844a1a2 14 // by the Free Software Foundation, either version 2 of the License, or
QL 4:6189d844a1a2 15 // (at your option) any later version.
QL 4:6189d844a1a2 16 //
QL 4:6189d844a1a2 17 // Alternatively, this program may be distributed and modified under the
QL 4:6189d844a1a2 18 // terms of Quantum Leaps commercial licenses, which expressly supersede
QL 4:6189d844a1a2 19 // the GNU General Public License and are specifically designed for
QL 4:6189d844a1a2 20 // licensees interested in retaining the proprietary status of their code.
QL 4:6189d844a1a2 21 //
QL 4:6189d844a1a2 22 // This program is distributed in the hope that it will be useful,
QL 4:6189d844a1a2 23 // but WITHOUT ANY WARRANTY; without even the implied warranty of
QL 4:6189d844a1a2 24 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
QL 4:6189d844a1a2 25 // GNU General Public License for more details.
QL 4:6189d844a1a2 26 //
QL 4:6189d844a1a2 27 // You should have received a copy of the GNU General Public License
QL 4:6189d844a1a2 28 // along with this program. If not, see <http://www.gnu.org/licenses/>.
QL 4:6189d844a1a2 29 //
QL 4:6189d844a1a2 30 // Contact information:
QL 4:6189d844a1a2 31 // Quantum Leaps Web sites: http://www.quantum-leaps.com
QL 4:6189d844a1a2 32 // http://www.state-machine.com
QL 4:6189d844a1a2 33 // e-mail: info@quantum-leaps.com
QL 4:6189d844a1a2 34 //////////////////////////////////////////////////////////////////////////////
QL 4:6189d844a1a2 35 #ifndef qp_config_h
QL 4:6189d844a1a2 36 #define qp_config_h
QL 4:6189d844a1a2 37
QL 4:6189d844a1a2 38 // enable the Q-SPY software tracing instrumentation
QL 4:6189d844a1a2 39 //#define Q_SPY
QL 4:6189d844a1a2 40
QL 4:6189d844a1a2 41 // enable preemptive QK kernel
QL 4:6189d844a1a2 42 //#define QK_PREEMPTIVE
QL 4:6189d844a1a2 43
QL 4:6189d844a1a2 44 // The maximum number of active objects in the application (could be up to 63)
QL 4:6189d844a1a2 45 #define QF_MAX_ACTIVE 16
QL 4:6189d844a1a2 46
QL 4:6189d844a1a2 47 #endif // qp_config_h