Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
make e_smx_comm_type_t be en enum class
[simgrid.git] / src / kernel / activity / SemaphoreImpl.hpp
index 6053af5..913d761 100644 (file)
@@ -24,6 +24,7 @@ public:
   SemaphoreImpl(SemaphoreImpl const&) = delete;
   SemaphoreImpl& operator=(SemaphoreImpl const&) = delete;
 
+  void acquire(smx_actor_t issuer, double timeout);
   void release();
   bool would_block() { return (value_ <= 0); }
   unsigned int get_capacity() { return value_; }