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
let base class dtor deal with surf action
[simgrid.git]
/
src
/
kernel
/
activity
/
SemaphoreImpl.hpp
diff --git
a/src/kernel/activity/SemaphoreImpl.hpp
b/src/kernel/activity/SemaphoreImpl.hpp
index
913d761
..
73faa7b
100644
(file)
--- a/
src/kernel/activity/SemaphoreImpl.hpp
+++ b/
src/kernel/activity/SemaphoreImpl.hpp
@@
-10,7
+10,7
@@
#include <boost/intrusive/list.hpp>
#include "simgrid/s4u/Semaphore.hpp"
#include <boost/intrusive/list.hpp>
#include "simgrid/s4u/Semaphore.hpp"
-#include "src/
simix
/ActorImpl.hpp"
+#include "src/
kernel/actor
/ActorImpl.hpp"
namespace simgrid {
namespace kernel {
namespace simgrid {
namespace kernel {
@@
-24,9
+24,9
@@
public:
SemaphoreImpl(SemaphoreImpl const&) = delete;
SemaphoreImpl& operator=(SemaphoreImpl const&) = delete;
SemaphoreImpl(SemaphoreImpl const&) = delete;
SemaphoreImpl& operator=(SemaphoreImpl const&) = delete;
- void acquire(
smx_actor_t
issuer, double timeout);
+ void acquire(
actor::ActorImpl*
issuer, double timeout);
void release();
void release();
- bool would_block() { return (value_
<
= 0); }
+ bool would_block() { return (value_
=
= 0); }
unsigned int get_capacity() { return value_; }
friend void intrusive_ptr_add_ref(SemaphoreImpl* sem)
unsigned int get_capacity() { return value_; }
friend void intrusive_ptr_add_ref(SemaphoreImpl* sem)