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:
parent
76217939e0
commit
5ec5b1cbd6
8 changed files with 160 additions and 64 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue