Minetest  5.4.0
ServerThread Class Reference
+ Inheritance diagram for ServerThread:
+ Collaboration diagram for ServerThread:

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 ()
 
bool isRunning ()
 
bool stopRequested ()
 
std::thread::id getThreadId ()
 
bool getReturnValue (void **ret)
 
bool bindToProcessor (unsigned int proc_number)
 
bool setPriority (int prio)
 

Private Attributes

Serverm_server
 

Additional Inherited Members

- Static Public Member Functions inherited from Thread
static void setName (const std::string &name)
 
static unsigned int getNumberOfProcessors ()
 
- Protected Attributes inherited from Thread
std::string m_name
 

Constructor & Destructor Documentation

◆ ServerThread()

ServerThread::ServerThread ( Server server)
inline

Member Function Documentation

◆ run()

void * ServerThread::run ( )
virtual

Implements Thread.

References Server::AsyncRunStep(), BEGIN_DEBUG_EXCEPTION_HANDLER, END_DEBUG_EXCEPTION_HANDLER, infostream, m_server, Server::Receive(), Server::setAsyncFatalError(), Thread::stopRequested(), and BaseException::what().

+ Here is the call graph for this function:

Member Data Documentation

◆ m_server

Server* ServerThread::m_server
private

Referenced by run().


The documentation for this class was generated from the following file: