|
@@ -118,7 +118,7 @@ struct EngineWorker { |
|
|
|
|
|
|
|
|
void run() { |
|
|
void run() { |
|
|
system::setThreadName("Engine worker"); |
|
|
system::setThreadName("Engine worker"); |
|
|
system::setThreadRealTime(); |
|
|
|
|
|
|
|
|
// system::setThreadRealTime(); |
|
|
disableDenormals(); |
|
|
disableDenormals(); |
|
|
while (running) { |
|
|
while (running) { |
|
|
step(); |
|
|
step(); |
|
@@ -303,7 +303,7 @@ static void Engine_updateAdjacent(Engine *that, Module *m) { |
|
|
static void Engine_run(Engine *that) { |
|
|
static void Engine_run(Engine *that) { |
|
|
// Set up thread |
|
|
// Set up thread |
|
|
system::setThreadName("Engine"); |
|
|
system::setThreadName("Engine"); |
|
|
system::setThreadRealTime(); |
|
|
|
|
|
|
|
|
// system::setThreadRealTime(); |
|
|
disableDenormals(); |
|
|
disableDenormals(); |
|
|
|
|
|
|
|
|
// Every time the that waits and locks a mutex, it steps this many frames |
|
|
// Every time the that waits and locks a mutex, it steps this many frames |
|
|