-/* Copyright (c) 2012-2018. The SimGrid Team. All rights reserved. */
+/* Copyright (c) 2012-2019. 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. */
#define SIMIX_MUTEXIMPL_HPP
#include "simgrid/s4u/ConditionVariable.hpp"
-#include "src/simix/ActorImpl.hpp"
+#include "src/kernel/actor/ActorImpl.hpp"
#include <boost/intrusive/list.hpp>
namespace simgrid {
bool try_lock(smx_actor_t issuer);
void unlock(smx_actor_t issuer);
+ MutexImpl* ref();
+ void unref();
bool locked = false;
smx_actor_t owner = nullptr;
// List of sleeping processes: