rts/RetainerProfile: Dump closure type if push() fails
[ghc.git] / rts / AwaitEvent.h
1 /* -----------------------------------------------------------------------------
2 *
3 * (c) The GHC Team 1998-2005
4 *
5 * The awaitEvent() interface, for the non-threaded RTS
6 *
7 * -------------------------------------------------------------------------*/
8
9 #pragma once
10
11 #if !defined(THREADED_RTS)
12 /* awaitEvent(bool wait)
13 *
14 * Checks for blocked threads that need to be woken.
15 *
16 * Called from STG : NO
17 * Locks assumed : sched_mutex
18 */
19 RTS_PRIVATE void awaitEvent(bool wait); /* In posix/Select.c or
20 * win32/AwaitEvent.c */
21 #endif