summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
d5f5ca7)
It may have happened that this cleanup is not done.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5612
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
SIMIX_cond_wait(MSG_mailbox_get_cond(mailbox), h->simdata->mutex);
SIMIX_cond_wait(MSG_mailbox_get_cond(mailbox), h->simdata->mutex);
- if (SIMIX_host_get_state(h_simdata->smx_host) == 0)
+ if (SIMIX_host_get_state(h_simdata->smx_host) == 0) {
+ MSG_mailbox_set_cond(mailbox, NULL);
+ SIMIX_cond_destroy(cond);
MSG_RETURN(MSG_HOST_FAILURE);
MSG_RETURN(MSG_HOST_FAILURE);