* by an agent for handling some task.
*/
-/** \ingroup msg_gos_functions
+/* \ingroup msg_gos_functions
* \brief This function is now deprecated and useless. Please stop using it.
*/
MSG_error_t MSG_process_start(m_process_t process)
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);
CHECK_HOST();
- xbt_abort(0, "This function is still to be specified correctly (what do you mean by 'load', exactly?). In the meantime, please don't use it");
+ xbt_assert0(0, "This function is still to be specified correctly (what do you mean by 'load', exactly?). In the meantime, please don't use it");
process = MSG_process_self();
return xbt_fifo_size(process->simdata->host->simdata->process_list);
}