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
simplify SIMIX_host_add_auto_restart_process
[simgrid.git]
/
src
/
simix
/
smx_synchro.cpp
diff --git
a/src/simix/smx_synchro.cpp
b/src/simix/smx_synchro.cpp
index
233f61c
..
cf91e4a
100644
(file)
--- a/
src/simix/smx_synchro.cpp
+++ b/
src/simix/smx_synchro.cpp
@@
-68,7
+68,7
@@
void SIMIX_synchro_finish(smx_activity_t synchro)
if (synchro->state_ != SIMIX_SRC_TIMEOUT) {
if (synchro->state_ == SIMIX_FAILED)
if (synchro->state_ != SIMIX_SRC_TIMEOUT) {
if (synchro->state_ == SIMIX_FAILED)
- simcall->issuer->context->iwannadie = 1;
+ simcall->issuer->context
_
->iwannadie = 1;
else
THROW_IMPOSSIBLE;
}
else
THROW_IMPOSSIBLE;
}
@@
-146,7
+146,7
@@
static void _SIMIX_sem_wait(smx_sem_t sem, double timeout, smx_actor_t issuer,
XBT_DEBUG("Wait semaphore %p (timeout:%f)", sem, timeout);
if (sem->value <= 0) {
XBT_DEBUG("Wait semaphore %p (timeout:%f)", sem, timeout);
if (sem->value <= 0) {
- synchro = SIMIX_synchro_wait(issuer->host, timeout);
+ synchro = SIMIX_synchro_wait(issuer->host
_
, timeout);
synchro->simcalls_.push_front(simcall);
issuer->waiting_synchro = synchro;
sem->sleeping.push_back(*issuer);
synchro->simcalls_.push_front(simcall);
issuer->waiting_synchro = synchro;
sem->sleeping.push_back(*issuer);