00001 // Filename: mainThread.cxx 00002 // Created by: drose (15Jan06) 00003 // 00004 //////////////////////////////////////////////////////////////////// 00005 // 00006 // PANDA 3D SOFTWARE 00007 // Copyright (c) Carnegie Mellon University. All rights reserved. 00008 // 00009 // All use of this software is subject to the terms of the revised BSD 00010 // license. You should have received a copy of this license along 00011 // with this source code in a file named "LICENSE." 00012 // 00013 //////////////////////////////////////////////////////////////////// 00014 00015 #include "mainThread.h" 00016 00017 TypeHandle MainThread::_type_handle; 00018 00019 //////////////////////////////////////////////////////////////////// 00020 // Function: MainThread::Constructor 00021 // Access: Private 00022 // Description: 00023 //////////////////////////////////////////////////////////////////// 00024 MainThread:: 00025 MainThread() : Thread("Main", "Main") { 00026 init_type(); // in case static init comes in the wrong order 00027 _impl.setup_main_thread(); 00028 _started = true; 00029 } 00030 00031 //////////////////////////////////////////////////////////////////// 00032 // Function: MainThread::thread_main 00033 // Access: Private, Virtual 00034 // Description: 00035 //////////////////////////////////////////////////////////////////// 00036 void MainThread:: 00037 thread_main() { 00038 }