diff Core/MultiThreading/Semaphore.cpp @ 2063:ed383e7a6753

cont
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 04 Jul 2016 15:50:11 +0200
parents b1291df2f780
children a3a65de1840f
line wrap: on
line diff
--- a/Core/MultiThreading/Semaphore.cpp	Sat Jul 02 15:09:03 2016 +0200
+++ b/Core/MultiThreading/Semaphore.cpp	Mon Jul 04 15:50:11 2016 +0200
@@ -40,10 +40,6 @@
 {
   Semaphore::Semaphore(unsigned int count) : count_(count)
   {
-    if (count == 0)
-    {
-      throw OrthancException(ErrorCode_ParameterOutOfRange);
-    }
   }
 
   void Semaphore::Release()