Browse Source

Don't spinlock on CarlaThread::waitForStarted(), fixes #14

tags/1.9.4
falkTX 11 years ago
parent
commit
abe1d212b9
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      source/utils/CarlaThread.hpp

+ 2
- 1
source/utils/CarlaThread.hpp View File

@@ -200,7 +200,8 @@ public:

if (timeout == 0)
{
while (! fStarted) {}
while (! fStarted)
carla_msleep(1);
}
else
{


Loading…
Cancel
Save