Commit 870b2298 authored by dons's avatar dons
Browse files

[project @ 2004-10-04 05:54:04 by dons]

Warning police. Move prototype of genericRaise into RtsExternal.h, so
the libraries can see it.
parent 004ecb39
/* ----------------------------------------------------------------------------- /* -----------------------------------------------------------------------------
* $Id: RtsExternal.h,v 1.4 2004/09/09 11:38:09 stolz Exp $ * $Id: RtsExternal.h,v 1.5 2004/10/04 05:54:04 dons Exp $
* *
* (c) The GHC Team, 1998-2004 * (c) The GHC Team, 1998-2004
* *
...@@ -30,6 +30,9 @@ extern void newCAF(StgClosure*); ...@@ -30,6 +30,9 @@ extern void newCAF(StgClosure*);
extern I_ genSymZh(void); extern I_ genSymZh(void);
extern I_ resetGenSymZh(void); extern I_ resetGenSymZh(void);
/* Alternate to raise(3) for threaded rts, for OpenBSD */
extern int genericRaise(int sig);
/* Concurrency/Exception PrimOps. */ /* Concurrency/Exception PrimOps. */
extern int cmp_thread(StgPtr tso1, StgPtr tso2); extern int cmp_thread(StgPtr tso1, StgPtr tso2);
extern int rts_getThreadId(StgPtr tso); extern int rts_getThreadId(StgPtr tso);
......
...@@ -50,6 +50,4 @@ extern void heapCheckFail( void ); ...@@ -50,6 +50,4 @@ extern void heapCheckFail( void );
extern void* __hscore_get_saved_termios(int fd); extern void* __hscore_get_saved_termios(int fd);
extern void __hscore_set_saved_termios(int fd, void* ts); extern void __hscore_set_saved_termios(int fd, void* ts);
extern int genericRaise(int sig);
#endif // RTSUTILS_H #endif // RTSUTILS_H
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment