Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
cosmetics: this is an ID, not a ptr
[simgrid.git] / src / mc / transition / TransitionSynchro.hpp
index a290ba4..66ed64c 100644 (file)
@@ -31,10 +31,11 @@ public:
   bool depends(const Transition* other) const override;
 
   uintptr_t get_mutex() const { return this->mutex_; }
+  aid_t get_owner() const { return this->owner_; }
 };
 
 class SemaphoreTransition : public Transition {
-  uintptr_t sem_;
+  unsigned int sem_; // ID
   bool granted_;
 
 public: