1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-13 00:25:19 +02: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.