|
Packit Service |
c5cf8c |
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil ; -*- */
|
|
Packit Service |
c5cf8c |
/*
|
|
Packit Service |
c5cf8c |
* (C) 2001 by Argonne National Laboratory.
|
|
Packit Service |
c5cf8c |
* See COPYRIGHT in top-level directory.
|
|
Packit Service |
c5cf8c |
*
|
|
Packit Service |
c5cf8c |
*/
|
|
Packit Service |
c5cf8c |
|
|
Packit Service |
c5cf8c |
#ifndef MPIR_DEBUGGER_H_INCLUDED
|
|
Packit Service |
c5cf8c |
#define MPIR_DEBUGGER_H_INCLUDED
|
|
Packit Service |
c5cf8c |
|
|
Packit Service |
c5cf8c |
/* These macros allow us to implement a sendq when debugger support is
|
|
Packit Service |
c5cf8c |
selected. As there is extra overhead for this, we only do this
|
|
Packit Service |
c5cf8c |
when specifically requested
|
|
Packit Service |
c5cf8c |
*/
|
|
Packit Service |
c5cf8c |
#ifdef HAVE_DEBUGGER_SUPPORT
|
|
Packit Service |
c5cf8c |
void MPIR_Debugger_set_aborting(const char *);
|
|
Packit Service |
c5cf8c |
|
|
Packit Service |
c5cf8c |
/* internal functions */
|
|
Packit Service |
c5cf8c |
void MPII_Wait_for_debugger(void);
|
|
Packit Service |
c5cf8c |
void MPII_Sendq_remember(MPIR_Request *, int, int, int);
|
|
Packit Service |
c5cf8c |
void MPII_Sendq_forget(MPIR_Request *);
|
|
Packit Service |
c5cf8c |
void MPII_CommL_remember(MPIR_Comm *);
|
|
Packit Service |
c5cf8c |
void MPII_CommL_forget(MPIR_Comm *);
|
|
Packit Service |
c5cf8c |
|
|
Packit Service |
c5cf8c |
#define MPII_SENDQ_REMEMBER(_a,_b,_c,_d) MPII_Sendq_remember(_a,_b,_c,_d)
|
|
Packit Service |
c5cf8c |
#define MPII_SENDQ_FORGET(_a) MPII_Sendq_forget(_a)
|
|
Packit Service |
c5cf8c |
#define MPII_COMML_REMEMBER(_a) MPII_CommL_remember(_a)
|
|
Packit Service |
c5cf8c |
#define MPII_COMML_FORGET(_a) MPII_CommL_forget(_a)
|
|
Packit Service |
c5cf8c |
#define MPII_REQUEST_CLEAR_DBG(_r) ((_r)->u.send.dbg_next = NULL)
|
|
Packit Service |
c5cf8c |
#else
|
|
Packit Service |
c5cf8c |
#define MPII_SENDQ_REMEMBER(a,b,c,d)
|
|
Packit Service |
c5cf8c |
#define MPII_SENDQ_FORGET(a)
|
|
Packit Service |
c5cf8c |
#define MPII_COMML_REMEMBER(_a)
|
|
Packit Service |
c5cf8c |
#define MPII_COMML_FORGET(_a)
|
|
Packit Service |
c5cf8c |
#define MPII_REQUEST_CLEAR_DBG(_r)
|
|
Packit Service |
c5cf8c |
#endif
|
|
Packit Service |
c5cf8c |
|
|
Packit Service |
c5cf8c |
#endif /* MPIR_DEBUGGER_H_INCLUDED */
|