commtechs benchs: fake_comm perform the writes

This commit is contained in:
Thomas Preud'homme 2009-06-24 23:35:58 +02:00 committed by Thomas Preud'homme
parent 2fe89da8a2
commit 177e548efe
2 changed files with 4 additions and 1 deletions

View File

@ -9,13 +9,13 @@ struct thread_comm
};
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) {
static __thread void **store_var = NULL;
store_var = addr;
}

View File

@ -9,6 +9,9 @@
#include <specific_comm.h>
__thread void ** volatile store_var = NULL;
int init_thread_comm(struct thread_comm *comm)
{
return 0;