summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
2096777)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1494
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
h_simdata = h->simdata;
DEBUG2("Probing on channel %d (%s)", channel,h->name);
h_simdata = h->simdata;
DEBUG2("Probing on channel %d (%s)", channel,h->name);
- while((item = xbt_fifo_getFirstItem(h->simdata->mbox[channel]))) {
+ while(!(item = xbt_fifo_getFirstItem(h->simdata->mbox[channel]))) {
if(max_duration>0) {
if(!first_time) {
MSG_RETURN(MSG_OK);
if(max_duration>0) {
if(!first_time) {
MSG_RETURN(MSG_OK);