mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Add support for named threads (atm linux only)
This commit is contained in:
parent
d22621efc1
commit
edcad09dee
7 changed files with 36 additions and 1 deletions
|
@ -169,6 +169,8 @@ void * MeshUpdateThread::Thread()
|
|||
|
||||
BEGIN_DEBUG_EXCEPTION_HANDLER
|
||||
|
||||
porting::setThreadName("MeshUpdateThread");
|
||||
|
||||
while(!StopRequested())
|
||||
{
|
||||
QueuedMeshUpdate *q = m_queue_in.pop();
|
||||
|
@ -1212,7 +1214,7 @@ void Client::ProcessData(u8 *data, u32 datasize, u16 sender_peer_id)
|
|||
m_time_of_day_set = true;
|
||||
|
||||
u32 dr = m_env.getDayNightRatio();
|
||||
verbosestream<<"Client: time_of_day="<<time_of_day
|
||||
infostream<<"Client: time_of_day="<<time_of_day
|
||||
<<" time_speed="<<time_speed
|
||||
<<" dr="<<dr<<std::endl;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue