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
Rename sg::k::actor::simcall ::actor::simcall_answered
[simgrid.git]
/
src
/
s4u
/
s4u_Semaphore.cpp
diff --git
a/src/s4u/s4u_Semaphore.cpp
b/src/s4u/s4u_Semaphore.cpp
index
d0a1b79
..
6f8565a
100644
(file)
--- a/
src/s4u/s4u_Semaphore.cpp
+++ b/
src/s4u/s4u_Semaphore.cpp
@@
-35,17
+35,17
@@
bool Semaphore::acquire_timeout(double timeout)
void Semaphore::release()
{
void Semaphore::release()
{
- kernel::actor::simcall([this] { pimpl_->release(); });
+ kernel::actor::simcall
_answered
([this] { pimpl_->release(); });
}
int Semaphore::get_capacity() const
{
}
int Semaphore::get_capacity() const
{
- return kernel::actor::simcall([this] { return pimpl_->get_capacity(); });
+ return kernel::actor::simcall
_answered
([this] { return pimpl_->get_capacity(); });
}
bool Semaphore::would_block() const
{
}
bool Semaphore::would_block() const
{
- return kernel::actor::simcall([this] { return pimpl_->would_block(); });
+ return kernel::actor::simcall
_answered
([this] { return pimpl_->would_block(); });
}
/* refcounting of the intrusive_ptr is delegated to the implementation object */
}
/* refcounting of the intrusive_ptr is delegated to the implementation object */