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
Don't let exceptions pass through the MSG layer.
[simgrid.git]
/
src
/
msg
/
msg_mailbox.c
diff --git
a/src/msg/msg_mailbox.c
b/src/msg/msg_mailbox.c
index
942f332
..
1abbf0e
100644
(file)
--- a/
src/msg/msg_mailbox.c
+++ b/
src/msg/msg_mailbox.c
@@
-116,6
+116,9
@@
MSG_mailbox_get_task_ext(msg_mailbox_t mailbox, msg_task_t * task,
}
CATCH(e) {
switch (e.category) {
}
CATCH(e) {
switch (e.category) {
+ case cancel_error:
+ ret = MSG_HOST_FAILURE;
+ break;
case network_error:
ret = MSG_TRANSFER_FAILURE;
break;
case network_error:
ret = MSG_TRANSFER_FAILURE;
break;
@@
-183,6
+186,9
@@
MSG_mailbox_put_with_timeout(msg_mailbox_t mailbox, msg_task_t task,
CATCH(e) {
switch (e.category) {
CATCH(e) {
switch (e.category) {
+ case cancel_error:
+ ret = MSG_HOST_FAILURE;
+ break;
case network_error:
ret = MSG_TRANSFER_FAILURE;
break;
case network_error:
ret = MSG_TRANSFER_FAILURE;
break;