16 #ifdef THREAD_DUMMY_IMPL 22 #ifndef WIN32_LEAN_AND_MEAN 23 #define WIN32_LEAN_AND_MEAN 1 31 std::string ThreadDummyImpl::
32 get_unique_id()
const {
34 std::ostringstream strm;
36 strm << GetCurrentProcessId();
47 get_current_thread() {
51 #endif // THREAD_DUMMY_IMPL PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
get_main_thread
Returns a pointer to the "main" Thread object–this is the Thread that started the whole process.
A thread; that is, a lightweight process.