async.h 1.16 KB
Newer Older
1 2
/**
 *
Mathieu Faverge's avatar
Mathieu Faverge committed
3 4
 * @copyright 2009-2014 The University of Tennessee and The University of
 *                      Tennessee Research Foundation. All rights reserved.
5 6
 * @copyright 2012-2014 Bordeaux INP, CNRS (LaBRI UMR 5800), Inria,
 *                      Univ. Bordeaux. All rights reserved.
7 8 9
 *
 **/
/***
10
 *
11 12 13 14 15 16 17
 *
 * @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
 *
18
 * @version 0.9.0
19 20 21 22 23 24 25 26
 * @author Jakub Kurzak
 * @author Cedric Castagnede
 * @date 2010-11-15
 *
 **/
#ifndef _MORSE_ASYNC_H_
#define _MORSE_ASYNC_H_

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

#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