From 6eb9727cb815ede24219cbfda85c315738a3f344 Mon Sep 17 00:00:00 2001 From: Xisco Bosch Date: Mon, 13 Mar 2017 19:53:13 +0100 Subject: [PATCH] removed sleep --- Source/CarlaServer/source/carla/thread/AsyncReaderJobQueue.h | 2 +- Source/CarlaServer/source/carla/thread/AsyncWriterJobQueue.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/CarlaServer/source/carla/thread/AsyncReaderJobQueue.h b/Source/CarlaServer/source/carla/thread/AsyncReaderJobQueue.h index a9da61229..b21807129 100644 --- a/Source/CarlaServer/source/carla/thread/AsyncReaderJobQueue.h +++ b/Source/CarlaServer/source/carla/thread/AsyncReaderJobQueue.h @@ -45,7 +45,7 @@ namespace thread { T value; _queue.wait_and_pop(value); _job(value); - Sleep(10); + //Sleep(10); } } diff --git a/Source/CarlaServer/source/carla/thread/AsyncWriterJobQueue.h b/Source/CarlaServer/source/carla/thread/AsyncWriterJobQueue.h index fe8c8d139..f166d7abc 100644 --- a/Source/CarlaServer/source/carla/thread/AsyncWriterJobQueue.h +++ b/Source/CarlaServer/source/carla/thread/AsyncWriterJobQueue.h @@ -42,7 +42,7 @@ namespace thread { _connectJob(); while (!_done) { _queue.push(_job()); - Sleep(10); + //Sleep(10); } }