async.h 1.23 KB
Newer Older
1 2
/**
 *
3 4
 * @copyright (c) 2009-2014 The University of Tennessee and The University
 *                          of Tennessee Research Foundation.
5 6
 *                          All rights reserved.
 * @copyright (c) 2012-2014 Inria. All rights reserved.
7
 * @copyright (c) 2012-2014 Bordeaux INP, CNRS (LaBRI UMR 5800), Inria, Univ. Bordeaux. All rights reserved.
8 9 10 11
 *
 **/

/***
12
 *
13 14 15 16 17 18 19
 *
 * @file async.h
 *
 *  MORSE auxiliary routines
 *  MORSE is a software package provided by Univ. of Tennessee,
 *  Univ. of California Berkeley and Univ. of Colorado Denver
 *
20
 * @version 0.9.0
21 22 23 24 25 26 27 28
 * @author Jakub Kurzak
 * @author Cedric Castagnede
 * @date 2010-11-15
 *
 **/
#ifndef _MORSE_ASYNC_H_
#define _MORSE_ASYNC_H_

29
#include "chameleon/morse_struct.h"
30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47

#ifdef __cplusplus
extern "C" {
#endif

/*******************************************************************************
 *  Internal routines
 **/
int morse_request_fail     (MORSE_sequence_t *sequence, MORSE_request_t *request, int error);
int morse_sequence_create  (MORSE_context_t *MORSE, MORSE_sequence_t **sequence);
int morse_sequence_destroy (MORSE_context_t *MORSE, MORSE_sequence_t *sequence);
int morse_sequence_wait    (MORSE_context_t *MORSE, MORSE_sequence_t *sequence);

#ifdef __cplusplus
}
#endif

#endif