cpp: Use #pragma once instead of #ifndef guards
[ghc.git] / includes / rts / LibdwPool.h
1 /* ---------------------------------------------------------------------------
2 *
3 * (c) The GHC Team, 2015-2016
4 *
5 * A pool of libdw sessions
6 *
7 * --------------------------------------------------------------------------*/
8
9 #pragma once
10
11 /* Claim a session from the pool */
12 LibdwSession *libdwPoolTake(void);
13
14 /* Return a session to the pool */
15 void libdwPoolRelease(LibdwSession *sess);
16
17 /* Free any sessions in the pool forcing a reload of any loaded debug
18 * information */
19 void libdwPoolClear(void);