diff --git a/lib_fiber/cpp/include/fiber/fiber_sem.hpp b/lib_fiber/cpp/include/fiber/fiber_sem.hpp index 87c29169b..e42669ad9 100644 --- a/lib_fiber/cpp/include/fiber/fiber_sem.hpp +++ b/lib_fiber/cpp/include/fiber/fiber_sem.hpp @@ -76,6 +76,10 @@ public: return t; } + size_t size(void) const { + return sem_.num(); + } + private: fiber_sem sem_; std::list sbox_;