"Results/DataRedist/Synch/config49.ini" did not exist on "4b37d0dde9530ad774397355872de60dd8697277"
Spawn_state.h 363 Bytes
Newer Older
1
2
#ifndef MAM_SPAWN_STATE_H
#define MAM_SPAWN_STATE_H
3
4
5
6
7
8
9

#include <stdio.h>
#include <stdlib.h>
#include <pthread.h>

void init_spawn_state();
void free_spawn_state();
10

11
12
13
int get_spawn_state(int is_async);
void set_spawn_state(int value, int is_async);

14
15
16
17
18
int wait_redistribution();
void wakeup_redistribution();

int wait_completion();
void wakeup_completion();
19

20
#endif