1
1
openmpi/ompi/request
Nathan Hjelm 6aa658ae33 ompi/request: change semantics of ompi request callbacks
This commit changes the sematics of ompi request callbacks. If a
request's callback has freed or re-posted (using start) a request
the callback must return 1 instead of OMPI_SUCCESS. This indicates
to ompi_request_complete that the request should not be modified
further. This fixes a race condition in osc/pt2pt that could lead
to the req_state being inconsistent if a request is freed between
the callback and setting the request as complete.

Signed-off-by: Nathan Hjelm <hjelmn@lanl.gov>
2016-08-17 20:14:01 -06:00
..
grequest.c Refactor the request completion (#1422) 2016-05-24 18:20:51 -05:00
grequest.h Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
Makefile.am Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
req_test.c Consistency in handling OPAL_ENABLE_FT_CR. 2016-06-03 00:54:24 +09:00
req_wait.c Fix a warning and other small cleanups. 2016-08-02 17:33:53 +02:00
request_dbg.h Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
request_default.h Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
request.c Refactor the request completion (#1422) 2016-05-24 18:20:51 -05:00
request.h ompi/request: change semantics of ompi request callbacks 2016-08-17 20:14:01 -06:00