Browse Source

Switch to SpinBarrier for engineBarrier

tags/v1.0.0
Andrew Belt 5 years ago
parent
commit
ddebd2d8d2
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/engine/Engine.cpp

+ 1
- 1
src/engine/Engine.cpp View File

@@ -147,7 +147,7 @@ struct Engine::Internal {

int threadCount = 1;
std::vector<EngineWorker> workers;
Barrier engineBarrier;
SpinBarrier engineBarrier;
SpinBarrier workerBarrier;
};



Loading…
Cancel
Save