Commit f1e346a7 authored by sof's avatar sof

[project @ 2003-03-28 23:46:39 by sof]

block_vtalrm_signal() and unblock_vtalrm_signal(): unused, disable.
parent f7cf092c
/* -----------------------------------------------------------------------------
* $Id: Itimer.c,v 1.32 2003/02/22 04:51:50 sof Exp $
* $Id: Itimer.c,v 1.33 2003/03/28 23:46:39 sof Exp $
*
* (c) The GHC Team, 1995-1999
*
......@@ -136,6 +136,8 @@ stopTicker()
}
# endif
#if 0
/* Currently unused */
void
block_vtalrm_signal(void)
{
......@@ -157,6 +159,7 @@ unblock_vtalrm_signal(void)
(void) sigprocmask(SIG_UNBLOCK, &signals, NULL);
}
#endif
/* gettimeofday() takes around 1us on our 500MHz PIII. Since we're
* only calling it 50 times/s, it shouldn't have any great impact.
......
/* -----------------------------------------------------------------------------
* $Id: Itimer.h,v 1.11 2003/02/22 04:51:51 sof Exp $
* $Id: Itimer.h,v 1.12 2003/03/28 23:46:40 sof Exp $
*
* (c) The GHC Team 1998-2001
*
......@@ -12,7 +12,10 @@
extern int startTicker( nat ms );
extern int stopTicker ( void );
extern unsigned int getourtimeofday ( void );
#if 0
/* unused */
extern void block_vtalrm_signal ( void );
extern void unblock_vtalrm_signal ( void );
extern unsigned int getourtimeofday ( void );
#endif
#endif /* __ITIMER_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