*/
void SIMIX_comm_finish(smx_action_t action)
{
- unsigned int destroy_count = 0;
+ volatile unsigned int destroy_count = 0;
smx_req_t req;
while ((req = xbt_fifo_shift(action->request_list))) {
if (buff_size == 0)
return;
- (*SIMIX_comm_copy_data_callback) (comm, buff_size);
+ SIMIX_comm_copy_data_callback(comm, buff_size);
/* Set the copied flag so we copy data only once */
/* (this function might be called from both communication ends) */