Panda3D
threadPriority.h
Go to the documentation of this file.
1 /**
2  * PANDA 3D SOFTWARE
3  * Copyright (c) Carnegie Mellon University. All rights reserved.
4  *
5  * All use of this software is subject to the terms of the revised BSD
6  * license. You should have received a copy of this license along
7  * with this source code in a file named "LICENSE."
8  *
9  * @file threadPriority.h
10  * @author drose
11  * @date 2002-08-08
12  */
13 
14 #ifndef THREADPRIORITY_H
15 #define THREADPRIORITY_H
16 
17 #include "pandabase.h"
18 
19 BEGIN_PUBLISH
20 // An enumerated type used by Thread to specify a suggested relative priority
21 // for a particular thread.
22 enum ThreadPriority {
23  TP_low,
24  TP_normal,
25  TP_high,
26  TP_urgent
27 };
28 END_PUBLISH
29 
30 EXPCL_PANDA_PIPELINE std::ostream &
31 operator << (std::ostream &out, ThreadPriority pri);
32 EXPCL_PANDA_PIPELINE std::istream &
33 operator >> (std::istream &in, ThreadPriority &pri);
34 
35 
36 #endif
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.