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
Use new macros THROWF and RETHROWF.
[simgrid.git]
/
src
/
simix
/
smx_host.c
diff --git
a/src/simix/smx_host.c
b/src/simix/smx_host.c
index 62e11134a5494e430857cea82e243e792cf06d6d..fe3f5642e3f27080f18dfe54defea7e5ca0900ab 100644
(file)
--- a/
src/simix/smx_host.c
+++ b/
src/simix/smx_host.c
@@
-65,7
+65,7
@@
void SIMIX_host_destroy(void *h)
msg = tmp;
}
SIMIX_display_process_status();
msg = tmp;
}
SIMIX_display_process_status();
- THROW
1
(arg_error, 0, "%s", msg);
+ THROW
F
(arg_error, 0, "%s", msg);
}
xbt_swag_free(host->process_list);
}
xbt_swag_free(host->process_list);
@@
-353,7
+353,7
@@
void SIMIX_execution_finish(smx_action_t action)
case SIMIX_FAILED:
TRY {
XBT_DEBUG("SIMIX_execution_finished: host '%s' failed", req->issuer->smx_host->name);
case SIMIX_FAILED:
TRY {
XBT_DEBUG("SIMIX_execution_finished: host '%s' failed", req->issuer->smx_host->name);
- THROW
0
(host_error, 0, "Host failed");
+ THROW
F
(host_error, 0, "Host failed");
}
CATCH(req->issuer->running_ctx->exception) {
req->issuer->doexception = 1;
}
CATCH(req->issuer->running_ctx->exception) {
req->issuer->doexception = 1;
@@
-363,7
+363,7
@@
void SIMIX_execution_finish(smx_action_t action)
case SIMIX_CANCELED:
TRY {
XBT_DEBUG("SIMIX_execution_finished: execution canceled");
case SIMIX_CANCELED:
TRY {
XBT_DEBUG("SIMIX_execution_finished: execution canceled");
- THROW
0
(cancel_error, 0, "Canceled");
+ THROW
F
(cancel_error, 0, "Canceled");
}
CATCH(req->issuer->running_ctx->exception) {
req->issuer->doexception = 1;
}
CATCH(req->issuer->running_ctx->exception) {
req->issuer->doexception = 1;