Panda3D

Loading...
Searching...
No Matches
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
19BEGIN_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};
28END_PUBLISH
29
30EXPCL_PANDA_PIPELINE std::ostream &
31operator << (std::ostream &out, ThreadPriority pri);
32EXPCL_PANDA_PIPELINE std::istream &
33operator >> (std::istream &in, ThreadPriority &pri);
34
35
36#endif
pandabase.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.