Mercurial > hg > xemacs-beta
comparison src/signal.c @ 410:de805c49cfc1 r21-2-35
Import from CVS: tag r21-2-35
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:19:21 +0200 |
parents | 2f8bb876ab1d |
children | 697ef44129c6 |
comparison
equal
deleted
inserted
replaced
409:301b9ebbdf3b | 410:de805c49cfc1 |
---|---|
29 #include "frame.h" | 29 #include "frame.h" |
30 #include "sysdep.h" | 30 #include "sysdep.h" |
31 #include "syssignal.h" | 31 #include "syssignal.h" |
32 #include "systime.h" | 32 #include "systime.h" |
33 | 33 |
34 #ifdef HAVE_UNISTD_H | 34 #include "sysfile.h" |
35 #include <unistd.h> | |
36 #endif | |
37 #include <errno.h> | |
38 | 35 |
39 /* Set to 1 when a quit-check signal (either a SIGIO interrupt or | 36 /* Set to 1 when a quit-check signal (either a SIGIO interrupt or |
40 the asynch. timeout for poll-for-quit) occurs. The QUITP | 37 the asynch. timeout for poll-for-quit) occurs. The QUITP |
41 macro may look at this. */ | 38 macro may look at this. */ |
42 volatile int quit_check_signal_happened; | 39 volatile int quit_check_signal_happened; |
178 Do NOT set alarm_happened, because we don't want anyone | 175 Do NOT set alarm_happened, because we don't want anyone |
179 looking at the timeout queue. We didn't set it and | 176 looking at the timeout queue. We didn't set it and |
180 it needs to stay the way it is. */ | 177 it needs to stay the way it is. */ |
181 quit_check_signal_happened = 1; | 178 quit_check_signal_happened = 1; |
182 | 179 |
183 #ifdef WINDOWSNT | 180 #ifdef WIN32_NATIVE |
184 can_break_system_calls = 0; | 181 can_break_system_calls = 0; |
185 #else | 182 #else |
186 /* can_break_system_calls is set when we want to break out of | 183 /* can_break_system_calls is set when we want to break out of |
187 non-interruptible system calls. */ | 184 non-interruptible system calls. */ |
188 if (can_break_system_calls) | 185 if (can_break_system_calls) |