rts/Linker.c: declare 'deRefStablePtr' as an exported 'rts' symbol
[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 #ifndef AWAITEVENT_H
10 #define AWAITEVENT_H
11
12 #if !defined(THREADED_RTS)
13 /* awaitEvent(rtsBool wait)
14 *
15 * Checks for blocked threads that need to be woken.
16 *
17 * Called from STG : NO
18 * Locks assumed : sched_mutex
19 */
20 RTS_PRIVATE void awaitEvent(rtsBool wait); /* In posix/Select.c or
21 * win32/AwaitEvent.c */
22 #endif
23
24 #endif /* AWAITEVENT_H */
25
26 // Local Variables:
27 // mode: C
28 // fill-column: 80
29 // indent-tabs-mode: nil
30 // c-basic-offset: 4
31 // buffer-file-coding-system: utf-8-unix
32 // End: