1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Add multi-Emerge thread support

This commit is contained in:
kwolekr 2013-02-17 01:47:49 -05:00
parent 76217939e0
commit 5ec5b1cbd6
8 changed files with 160 additions and 64 deletions

View file

@ -103,6 +103,11 @@ std::string getDataPath(const char *subpath);
*/
void initializePaths();
/*
Get number of online processors in the system.
*/
int getNumberOfProcessors();
/*
Resolution is 10-20ms.
Remember to check for overflows.