Public Member Functions | |
| ServerThread (Server *server) | |
| void * | run () |
| Public Member Functions inherited from Thread | |
| Thread (const std::string &name="") | |
| virtual | ~Thread () |
| bool | start () |
| bool | stop () |
| bool | wait () |
| bool | isCurrentThread () const |
| bool | isRunning () const |
| bool | stopRequested () const |
| std::thread::id | getThreadId () const |
| bool | getReturnValue (void **ret) const |
| bool | bindToProcessor (unsigned int proc_number) |
| bool | setPriority (int prio) |
Private Attributes | |
| Server * | m_server |
Additional Inherited Members | |
| Static Public Member Functions inherited from Thread | |
| static Thread * | getCurrentThread () |
| static void | setName (const std::string &name) |
| static unsigned int | getNumberOfProcessors () |
| Protected Attributes inherited from Thread | |
| std::string | m_name |
|
inline |
|
virtual |
Implements Thread.
References BEGIN_DEBUG_EXCEPTION_HANDLER, FrameMarker::end(), END_DEBUG_EXCEPTION_HANDLER, g_profiler, porting::getTimeUs(), infostream, m_server, SPT_MAX, FrameMarker::started(), Thread::stopRequested(), BaseException::what(), and ZoneScoped.
|
private |
Referenced by ServerThread(), and run().