25 lines
370 B
C
25 lines
370 B
C
#ifndef _SPECIFIC_COMM_H_
|
|
#define _SPECIFIC_COMM_H_ 1
|
|
|
|
#define FAKE_NURSERY_START 1
|
|
|
|
struct thread_comm
|
|
{
|
|
int unused;
|
|
};
|
|
|
|
extern struct thread_comm *tcomms;
|
|
extern __thread void ** volatile store_var;
|
|
|
|
__BEGIN_DECLS
|
|
|
|
int init_thread_comm(struct thread_comm *);
|
|
int end_thread_comm(void);
|
|
static inline void send(void **addr) {
|
|
store_var = addr;
|
|
}
|
|
|
|
__END_DECLS
|
|
|
|
#endif
|