| 1 |
/* |
| 2 |
* Copyright (C) by Argonne National Laboratory |
| 3 |
* See COPYRIGHT in top-level directory |
| 4 |
*/ |
| 5 |
|
| 6 |
#ifndef MPID_NEM_DEBUG_H_INCLUDED |
| 7 |
#define MPID_NEM_DEBUG_H_INCLUDED |
| 8 |
|
| 9 |
/*#define YIELD_IN_SKIP*/ |
| 10 |
#ifdef YIELD_IN_SKIP |
| 11 |
#define SKIP MPID_Thread_yield() |
| 12 |
#warning "SKIP is yield" |
| 13 |
#else /* YIELD_IN_SKIP */ |
| 14 |
#define SKIP do{}while(0) |
| 15 |
/*#warning "SKIP is do ...while" */ |
| 16 |
#endif /* YIELD_IN_SKIP */ |
| 17 |
|
| 18 |
/* debugging message functions */ |
| 19 |
struct MPID_nem_cell; |
| 20 |
void MPID_nem_dbg_dump_cell (volatile struct MPID_nem_cell *cell); |
| 21 |
|
| 22 |
#endif /* MPID_NEM_DEBUG_H_INCLUDED */ |