Panda3D
mainThread.cxx
1 // Filename: mainThread.cxx
2 // Created by: drose (15Jan06)
3 //
4 ////////////////////////////////////////////////////////////////////
5 //
6 // PANDA 3D SOFTWARE
7 // Copyright (c) Carnegie Mellon University. All rights reserved.
8 //
9 // All use of this software is subject to the terms of the revised BSD
10 // license. You should have received a copy of this license along
11 // with this source code in a file named "LICENSE."
12 //
13 ////////////////////////////////////////////////////////////////////
14 
15 #include "mainThread.h"
16 
17 TypeHandle MainThread::_type_handle;
18 
19 ////////////////////////////////////////////////////////////////////
20 // Function: MainThread::Constructor
21 // Access: Private
22 // Description:
23 ////////////////////////////////////////////////////////////////////
24 MainThread::
25 MainThread() : Thread("Main", "Main") {
26  init_type(); // in case static init comes in the wrong order
27  _impl.setup_main_thread();
28  _started = true;
29 }
30 
31 ////////////////////////////////////////////////////////////////////
32 // Function: MainThread::thread_main
33 // Access: Private, Virtual
34 // Description:
35 ////////////////////////////////////////////////////////////////////
36 void MainThread::
37 thread_main() {
38 }
A thread; that is, a lightweight process.
Definition: thread.h:51
TypeHandle is the identifier used to differentiate C++ class types.
Definition: typeHandle.h:85