A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Modernize simcall mutex_lock.
[simgrid.git]
/
src
/
kernel
/
activity
/
MutexImpl.hpp
diff --git
a/src/kernel/activity/MutexImpl.hpp
b/src/kernel/activity/MutexImpl.hpp
index ba85ad0f9e7754b008598cffddc509ed373d0745..fa291d3bb4cb709153699d950782d6dd5ad6beb4 100644
(file)
--- a/
src/kernel/activity/MutexImpl.hpp
+++ b/
src/kernel/activity/MutexImpl.hpp
@@
-1,4
+1,4
@@
-/* Copyright (c) 2012-202
0
. The SimGrid Team. All rights reserved. */
+/* Copyright (c) 2012-202
1
. 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. */
/* 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. */
@@
-30,7
+30,7
@@
public:
void lock(actor::ActorImpl* issuer);
bool try_lock(actor::ActorImpl* issuer);
void unlock(actor::ActorImpl* issuer);
void lock(actor::ActorImpl* issuer);
bool try_lock(actor::ActorImpl* issuer);
void unlock(actor::ActorImpl* issuer);
- bool is_locked() { return locked_; }
+ bool is_locked()
const
{ return locked_; }
MutexImpl* ref();
void unref();
MutexImpl* ref();
void unref();