*/
XBT_PUBLIC_CLASS Mutex {
friend ConditionVariable;
- friend simgrid::simix::Mutex;
- simgrid::simix::Mutex* mutex_;
- Mutex(simgrid::simix::Mutex* mutex) : mutex_(mutex) {}
+ friend simgrid::simix::MutexImpl;
+ simgrid::simix::MutexImpl* mutex_;
+ explicit Mutex(simgrid::simix::MutexImpl * mutex) : mutex_(mutex) {}
/* refcounting of the intrusive_ptr is delegated to the implementation object */
friend void intrusive_ptr_add_ref(Mutex* mutex)