diff options
Diffstat (limited to 'rts/LibdwPool.h')
-rw-r--r-- | rts/LibdwPool.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/rts/LibdwPool.h b/rts/LibdwPool.h new file mode 100644 index 0000000000..a6b670e6f1 --- /dev/null +++ b/rts/LibdwPool.h @@ -0,0 +1,30 @@ +/* --------------------------------------------------------------------------- + * + * (c) The GHC Team, 2015-2016 + * + * A pool of libdw sessions + * + * --------------------------------------------------------------------------*/ + +#ifndef LIBDW_POOL_H +#define LIBDW_POOL_H + +#include "BeginPrivate.h" + +#include "Rts.h" +#include "Libdw.h" + +#ifdef USE_LIBDW + +/* Initialize the pool */ +void libdwPoolInit(void); + +#else + +INLINE_HEADER void libdwPoolInit(void) {} + +#endif /* USE_LIBDW */ + +#include "EndPrivate.h" + +#endif /* LIBDW_POOL_H */ |