23 operator << (ostream &out, ThreadPriority pri) {
29 return out <<
"normal";
35 return out <<
"urgent";
39 <<
"Invalid ThreadPriority value: " << (int)pri <<
"\n";
45 operator >> (istream &in, ThreadPriority &pri) {
51 }
else if (word ==
"normal") {
54 }
else if (word ==
"high") {
57 }
else if (word ==
"urgent") {
63 <<
"Invalid ThreadPriority string: " << word <<
"\n";
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.