1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-07-27 17:28:41 +00:00

Add minetest.get_mapgen_object to API

This commit is contained in:
kwolekr 2013-06-26 17:19:39 -04:00
parent 2c0b51795e
commit 8aa930f28e
14 changed files with 188 additions and 9 deletions

View file

@ -148,6 +148,11 @@ void *JThread::GetReturnValue()
return val;
}
bool JThread::IsSameThread()
{
return pthread_equal(pthread_self(), threadid);
}
void *JThread::TheThread(void *param)
{
JThread *jthread;