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
useless cleanups
[simgrid.git]
/
src
/
simix
/
smx_process.c
diff --git
a/src/simix/smx_process.c
b/src/simix/smx_process.c
index
84bcef1
..
77578ae
100644
(file)
--- a/
src/simix/smx_process.c
+++ b/
src/simix/smx_process.c
@@
-494,8
+494,6
@@
void SIMIX_pre_process_resume(smx_simcall_t simcall, smx_process_t process){
void SIMIX_process_resume(smx_process_t process, smx_process_t issuer)
{
void SIMIX_process_resume(smx_process_t process, smx_process_t issuer)
{
- xbt_assert((process != NULL), "Invalid parameters");
-
XBT_IN("process = %p, issuer = %p", process, issuer);
if(process->context->iwannadie) {
XBT_IN("process = %p, issuer = %p", process, issuer);
if(process->context->iwannadie) {
@@
-759,7
+757,7
@@
void SIMIX_post_process_sleep(smx_action_t action)
switch(surf_action_get_state(action->sleep.surf_sleep)){
case SURF_ACTION_FAILED:
simcall->issuer->context->iwannadie = 1;
switch(surf_action_get_state(action->sleep.surf_sleep)){
case SURF_ACTION_FAILED:
simcall->issuer->context->iwannadie = 1;
- //SMX_EXCEPTION(simcall->issuer, host_error, 0, "Host failed");
+
//SMX_EXCEPTION(simcall->issuer, host_error, 0, "Host failed");
state = SIMIX_SRC_HOST_FAILURE;
break;
state = SIMIX_SRC_HOST_FAILURE;
break;
@@
-840,12
+838,11
@@
void SIMIX_process_yield(smx_process_t self)
if (self->context->iwannadie){
XBT_DEBUG("I wanna die!");
SIMIX_process_stop(self);
if (self->context->iwannadie){
XBT_DEBUG("I wanna die!");
SIMIX_process_stop(self);
- XBT_DEBUG("SIMIX Stop done");
}
if (self->suspended) {
XBT_DEBUG("Hey! I'm suspended.");
}
if (self->suspended) {
XBT_DEBUG("Hey! I'm suspended.");
- xbt_assert(!self->doexception, "G
loups
! This exception may be lost by subsequent calls.");
+ xbt_assert(!self->doexception, "G
asp
! This exception may be lost by subsequent calls.");
self->suspended = 0;
SIMIX_process_suspend(self, self);
}
self->suspended = 0;
SIMIX_process_suspend(self, self);
}