2006-07-04 05:20:20 +04:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2004-2006 The Regents of the University of California.
|
|
|
|
* All rights reserved.
|
2006-07-26 01:46:04 +04:00
|
|
|
* Copyright (c) 2006 Cisco Systems, Inc. All rights reserved.
|
2006-07-04 05:20:20 +04:00
|
|
|
* $COPYRIGHT$
|
|
|
|
*
|
|
|
|
* Additional copyrights may follow
|
|
|
|
*
|
|
|
|
* $HEADER$
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "ompi_config.h"
|
|
|
|
|
|
|
|
#include "ompi/request/request.h"
|
|
|
|
#include "ompi/mca/pml/base/pml_base_request.h"
|
|
|
|
|
|
|
|
#include "pml_cm.h"
|
|
|
|
#include "pml_cm_sendreq.h"
|
|
|
|
#include "pml_cm_recvreq.h"
|
|
|
|
|
|
|
|
int
|
|
|
|
mca_pml_cm_cancel(struct ompi_request_t *request, int flag)
|
|
|
|
{
|
2006-07-26 01:46:04 +04:00
|
|
|
/* Temporarily silence a compiler warning. Remove this when the
|
|
|
|
cancel is fully implemented */
|
|
|
|
#if 1
|
|
|
|
return OMPI_SUCCESS;
|
|
|
|
#else
|
|
|
|
int ret
|
2006-07-14 23:32:26 +04:00
|
|
|
/* mca_pml_cm_request_t *base_request = */
|
|
|
|
/* (mca_pml_cm_request_t*) request; */
|
|
|
|
/* ret = OMPI_MTL_CALL(cancel(ompi_mtl, */
|
|
|
|
/* &base_request->req_mtl, */
|
|
|
|
/* flag)); */
|
2006-07-04 05:20:20 +04:00
|
|
|
return ret;
|
2006-07-26 01:46:04 +04:00
|
|
|
#endif
|
2006-07-04 05:20:20 +04:00
|
|
|
}
|