"Codes/malleability/MAM_Types.c" did not exist on "edc48a8e641517481ea31cf771e8a13a0151eed2"
Spawn_state.h 381 Bytes
Newer Older
iker_martin's avatar
iker_martin committed
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifndef MALLEABILITY_SPAWN_STATE_H
#define MALLEABILITY_SPAWN_STATE_H

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

void init_spawn_state();
void free_spawn_state();

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();
iker_martin's avatar
iker_martin committed
19
20

#endif