X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/71c8117a9137c59bece62c17a3277fdccd362d0a..6b188a3ca7fe91cf125a08229fb4fe51eee26e6d:/src/simix/smx_smurf.c diff --git a/src/simix/smx_smurf.c b/src/simix/smx_smurf.c index f19303242c..1fb1585b25 100644 --- a/src/simix/smx_smurf.c +++ b/src/simix/smx_smurf.c @@ -39,6 +39,7 @@ void SIMIX_request_answer(smx_req_t req) void SIMIX_request_pre(smx_req_t req, int value) { + XBT_DEBUG("Handling request %p: %s", req, SIMIX_request_name(req->call)); switch (req->call) { case REQ_COMM_TEST: @@ -70,6 +71,7 @@ void SIMIX_request_pre(smx_req_t req, int value) req->comm_send.src_buff, req->comm_send.src_buff_size, req->comm_send.match_fun, + NULL, /* no clean function since it's not detached */ req->comm_send.data, 0); SIMIX_pre_comm_wait(req, comm, req->comm_send.timeout, 0); @@ -85,6 +87,7 @@ void SIMIX_request_pre(smx_req_t req, int value) req->comm_isend.src_buff, req->comm_isend.src_buff_size, req->comm_isend.match_fun, + req->comm_isend.clean_fun, req->comm_isend.data, req->comm_isend.detached); SIMIX_request_answer(req);