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:
Mon Sep 26 02:21:01 2011 +0000
Revision:
3:81ceb3127876
Parent:
2:2e62e514f323
Child:
4:6189d844a1a2
Updated for QP 4.2.04

Who changed what in which revision?

UserRevisionLine numberNew contents of line
QL 2:2e62e514f323 1 //////////////////////////////////////////////////////////////////////////////
QL 2:2e62e514f323 2 // Product: QP-mbed configuration file
QL 3:81ceb3127876 3 // Last Updated for Version: 4.2.04
QL 3:81ceb3127876 4 // Date of the Last Update: Sep 25, 2011
QL 2:2e62e514f323 5 //
QL 2:2e62e514f323 6 // Q u a n t u m L e a P s
QL 2:2e62e514f323 7 // ---------------------------
QL 2:2e62e514f323 8 // innovating embedded systems
QL 2:2e62e514f323 9 //
QL 2:2e62e514f323 10 // Copyright (C) 2002-2011 Quantum Leaps, LLC. All rights reserved.
QL 2:2e62e514f323 11 //
QL 2:2e62e514f323 12 // This software may be distributed and modified under the terms of the GNU
QL 2:2e62e514f323 13 // General Public License version 2 (GPL) as published by the Free Software
QL 2:2e62e514f323 14 // Foundation and appearing in the file GPL.TXT included in the packaging of
QL 2:2e62e514f323 15 // this file. Please note that GPL Section 2[b] requires that all works based
QL 2:2e62e514f323 16 // on this software must also be made publicly available under the terms of
QL 2:2e62e514f323 17 // the GPL ("Copyleft").
QL 2:2e62e514f323 18 //
QL 2:2e62e514f323 19 // Alternatively, this software may be distributed and modified under the
QL 2:2e62e514f323 20 // terms of Quantum Leaps commercial licenses, which expressly supersede
QL 2:2e62e514f323 21 // the GPL and are specifically designed for licensees interested in
QL 2:2e62e514f323 22 // retaining the proprietary status of their code.
QL 2:2e62e514f323 23 //
QL 2:2e62e514f323 24 // Contact information:
QL 2:2e62e514f323 25 // Quantum Leaps Web site: http://www.quantum-leaps.com
QL 2:2e62e514f323 26 // e-mail: info@quantum-leaps.com
QL 2:2e62e514f323 27 //////////////////////////////////////////////////////////////////////////////
QL 2:2e62e514f323 28 #ifndef qp_config_h
QL 2:2e62e514f323 29 #define qp_config_h
QL 2:2e62e514f323 30
QL 2:2e62e514f323 31 // enable the Q-SPY software tracing instrumentation
QL 2:2e62e514f323 32 #define Q_SPY
QL 2:2e62e514f323 33
QL 2:2e62e514f323 34 // enable preemptive QK kernel
QL 2:2e62e514f323 35 #define QK_PREEMPTIVE
QL 2:2e62e514f323 36
QL 2:2e62e514f323 37 // The maximum number of active objects in the application (could be up to 63)
QL 2:2e62e514f323 38 #define QF_MAX_ACTIVE 16
QL 2:2e62e514f323 39
QL 2:2e62e514f323 40 #endif // qp_config_h