root/ompi/request/grequestx.h

/* [<][>][^][v][top][bottom][index][help] */

INCLUDED FROM


   1 /*
   2  * Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
   3  *                         University Research and Technology
   4  *                         Corporation.  All rights reserved.
   5  * Copyright (c) 2004-2005 The University of Tennessee and The University
   6  *                         of Tennessee Research Foundation.  All rights
   7  *                         reserved.
   8  * Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
   9  *                         University of Stuttgart.  All rights reserved.
  10  * Copyright (c) 2004-2005 The Regents of the University of California.
  11  *                         All rights reserved.
  12  * Copyright (c) 2006      Cisco Systems, Inc.  All rights reserved.
  13  * $COPYRIGHT$
  14  *
  15  * Additional copyrights may follow
  16  *
  17  * $HEADER$
  18  */
  19 
  20 #ifndef OMPI_GEN_REQUESTX_H
  21 #define OMPI_GEN_REQUESTX_H
  22 
  23 #include "ompi_config.h"
  24 #include "ompi/request/grequest.h"
  25 
  26 BEGIN_C_DECLS
  27 
  28 typedef int (ompi_grequestx_wait_function)(int, void **, double, MPI_Status *);
  29 typedef int ompi_grequestx_class;
  30 /**
  31  * Start an extended generalized request
  32  */
  33 OMPI_DECLSPEC int ompi_grequestx_start(
  34     MPI_Grequest_query_function *gquery,
  35     MPI_Grequest_free_function *gfree,
  36     MPI_Grequest_cancel_function *gcancel,
  37     ompi_grequestx_poll_function *gpoll,
  38     void* gstate,
  39     ompi_request_t** request);
  40 
  41 OMPI_DECLSPEC int ompi_grequestx_class_create(
  42     MPI_Grequest_query_function *gquery,
  43     MPI_Grequest_free_function *gfree,
  44     MPI_Grequest_cancel_function *gcancel,
  45     ompi_grequestx_poll_function *gpoll,
  46     ompi_grequestx_wait_function *gwait,
  47     ompi_grequestx_class *greq_class);
  48 
  49 OMPI_DECLSPEC int ompi_grequestx_class_allocate(
  50     ompi_grequestx_class greq_class,
  51     void *extra_state,
  52     ompi_request_t** request);
  53 
  54 END_C_DECLS
  55 
  56 #endif

/* [<][>][^][v][top][bottom][index][help] */