rt_benchs/communication_techniques/include/fake_comm.h

25 lines
368 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;
__BEGIN_DECLS
int init_thread_comm(struct thread_comm *);
int end_thread_comm(void);
static inline void send(void **addr) {
static __thread void **store_var = NULL;
store_var = addr;
}
__END_DECLS
#endif