Add proc_pri function to extract a Process priority.
[bertos.git] / bertos / emul / timer_posix.c
index d54c61205c33c73c5b78ce2915eb80b2f280ae96..309d5c502c19e7b9343ba6dbadd7ed7994a70605 100644 (file)
@@ -31,7 +31,6 @@
  *
  * \brief Low-level timer module for Qt emulator (implementation).
  *
- * \version $Id$
  * \author Bernie Innocenti <bernie@codewiz.org>
  */
 //#include <cfg/compiler.h> // hptime.t
@@ -82,6 +81,7 @@ static void timer_hw_cleanup(void)
                { 0, 0 }  /* it_value */
        };
        setitimer(ITIMER_REAL, &itv, NULL);
+       signal(SIGALRM, SIG_DFL);
 }
 
 INLINE hptime_t timer_hw_hpread(void)