source: trunk/include/priority_level.h @ 5054

Revision 1023, 1.1 KB checked in by dietz, 16 years ago (diff)

Contains priority level definitions previously in priority_queue.h

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1/*
2 *   THIS FILE IS UNDER RCS - DO NOT MODIFY UNLESS YOU HAVE
3 *   CHECKED IT OUT USING THE COMMAND CHECKOUT.
4 *
5 *    $Id$
6 *
7 *    Revision history:
8 *     $Log$
9 *     Revision 1.2  2002/07/19 22:29:42  dietz
10 *     Contains priority level definitions previously in priority_queue.h
11 *
12 *
13 */
14
15/*   priority_level.h
16**
17**   Definitions of Priority level used in priority_queue.c.
18**   Pulled from priority_queue.h by LDD so the priority
19**   definitions could be used by mem_circ_queue programs too.
20**
21**   created 2002/07/19 LDD
22*/
23
24#ifndef PRIORITY_LEVEL_H
25#define PRIORITY_LEVEL_H
26
27/*
28** PRIORITY LEVELS
29**
30** CAUTION: Note that the highest priority (most important)
31**          items are assigned EW_PRIORITY_MIN.
32**          That is, these defines are for the programming
33**          domain, not the work domain.
34*/
35#define EW_PRIORITY_NONE   0 /* state when no message present */
36#define EW_PRIORITY_MIN    1 /* the highest priority */
37#define EW_PRIORITY_MAX    9 /* the lowest priority */
38#define EW_PRIORITY_COUNT 10 /* simplifies loops */
39
40#define EW_PRIORITY_DEF    9 /* default priority => lowest work priority */
41
42#endif
Note: See TracBrowser for help on using the repository browser.