changeset 3486:5e9fae2faff2

merge
author Sebastien Jodogne <s.jodogne@gmail.com>
date Sat, 03 Aug 2019 10:56:13 +0200
parents bfaa10078f7d (current diff) f22ed747fa13 (diff)
children ce29644acd19
files
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/Core/MultiThreading/Semaphore.h	Sat Aug 03 10:55:54 2019 +0200
+++ b/Core/MultiThreading/Semaphore.h	Sat Aug 03 10:56:13 2019 +0200
@@ -53,6 +53,12 @@
   public:
     explicit Semaphore(unsigned int availableResources);
 
+    unsigned int GetAvailableResourcesCount() const
+    {
+      return availableResources_;
+    }
+
+
     class Locker : public boost::noncopyable
     {
     private: