File: wait.c

package info (click to toggle)
ga 5.9.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 18,472 kB
  • sloc: ansic: 192,963; fortran: 53,761; f90: 11,218; cpp: 5,784; makefile: 2,248; sh: 1,945; python: 1,734; perl: 534; csh: 134; asm: 106
file content (35 lines) | stat: -rw-r--r-- 538 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#if HAVE_CONFIG_H
#   include "config.h"
#endif

#include <stdio.h>
#include <stdlib.h>
#include <mpi.h>
#include <assert.h>
#include <string.h>

#include "comex.h"
#include "comex_impl.h"


int comex_wait_proc(int proc, comex_group_t group)
{   
    return COMEXD_waitproc(proc);
}

int comex_wait(comex_request_t * hdl)
{
    return COMEXD_waitall();
}   

int comex_test(comex_request_t * hdl, int *status)
{
    *status = 0;
    return COMEXD_waitall();
}

int comex_wait_all(comex_group_t group)
{
    return COMEXD_waitall();
}