creep should be the last signal to be processed?

This commit is contained in:
Vítor Santos Costa 2014-09-08 17:14:58 -05:00
parent 337839b8ea
commit f9438806ee

View File

@ -45,22 +45,22 @@ typedef enum
#ifdef SIGVTALRM
YAP_VTALARM_SIGNAL = SIGVTALRM, /* received SIGVTALARM */
#endif
YAP_CREEP_SIGNAL = (NSIG+1), /* received a creep */
YAP_WAKEUP_SIGNAL = (NSIG+2), /* goals to wake up */
YAP_ITI_SIGNAL = (NSIG+3), /* received inter thread signal */
YAP_TROVF_SIGNAL = (NSIG+4), /* received trail overflow */
YAP_CDOVF_SIGNAL = (NSIG+5), /* received code overflow */
YAP_STOVF_SIGNAL = (NSIG+6), /* received stack overflow */
YAP_TRACE_SIGNAL = (NSIG+7), /* received start trace */
YAP_DEBUG_SIGNAL = (NSIG+8), /* received start debug */
YAP_BREAK_SIGNAL = (NSIG+9), /* received break signal */
YAP_STACK_DUMP_SIGNAL = (NSIG+10), /* received stack dump signal */
YAP_STATISTICS_SIGNAL = (NSIG+11), /* received statistics */
YAP_AGC_SIGNAL = (NSIG+12), /* call atom garbage collector asap */
YAP_WINTIMER_SIGNAL = (NSIG+13), /* windows alarm */
YAP_FAIL_SIGNAL = (NSIG+14), /* P = FAILCODE */
YAP_ABORT_SIGNAL = (NSIG+15), /* P = FAILCODE */
YAP_EXIT_SIGNAL = (NSIG+16) /* P = FAILCODE */
YAP_WAKEUP_SIGNAL = (NSIG+1), /* goals to wake up */
YAP_ITI_SIGNAL = (NSIG+2), /* received inter thread signal */
YAP_TROVF_SIGNAL = (NSIG+3), /* received trail overflow */
YAP_CDOVF_SIGNAL = (NSIG+4), /* received code overflow */
YAP_STOVF_SIGNAL = (NSIG+5), /* received stack overflow */
YAP_TRACE_SIGNAL = (NSIG+6), /* received start trace */
YAP_DEBUG_SIGNAL = (NSIG+7), /* received start debug */
YAP_BREAK_SIGNAL = (NSIG+8), /* received break signal */
YAP_STACK_DUMP_SIGNAL = (NSIG+9), /* received stack dump signal */
YAP_STATISTICS_SIGNAL = (NSIG+10), /* received statistics */
YAP_AGC_SIGNAL = (NSIG+11), /* call atom garbage collector asap */
YAP_WINTIMER_SIGNAL = (NSIG+12), /* windows alarm */
YAP_FAIL_SIGNAL = (NSIG+13), /* P = FAILCODE */
YAP_ABORT_SIGNAL = (NSIG+14), /* P = FAILCODE */
YAP_EXIT_SIGNAL = (NSIG+15), /* P = FAILCODE */
YAP_CREEP_SIGNAL = (NSIG+16) /* received a creep, make sure it is the last signal */
} yap_signals;
#define Yap_get_signal(S) Yap_get_signal__(S PASS_REGS)