-/* Copyright (c) 2006-2015. The SimGrid Team. All rights reserved. */
+/* Copyright (c) 2006-2018. The SimGrid Team. All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
* Use createMutex() to get a ::MutexPtr to a newly created mutex and only manipulate ::MutexPtr.
*
*/
-XBT_PUBLIC_CLASS Mutex {
+class XBT_PUBLIC Mutex {
friend ConditionVariable;
- friend simgrid::simix::MutexImpl;
- simgrid::simix::MutexImpl* mutex_;
- explicit Mutex(simgrid::simix::MutexImpl * mutex) : mutex_(mutex) {}
+ friend simgrid::kernel::activity::MutexImpl;
+ simgrid::kernel::activity::MutexImpl* mutex_;
+ explicit Mutex(simgrid::kernel::activity::MutexImpl * mutex) : mutex_(mutex) {}
/* refcounting of the intrusive_ptr is delegated to the implementation object */
friend void intrusive_ptr_add_ref(Mutex* mutex)