1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-06 11:50:51 -08:00
Commit graph

25 commits

Author SHA1 Message Date
Glenn Morris
8cabe764e9 Add 2008 to copyright years. 2008-01-08 04:37:27 +00:00
Glenn Morris
684d6f5bcc Switch license to GPLv3 or later. 2007-07-25 05:19:07 +00:00
Glenn Morris
429ab54e01 Update copyright for years from Emacs 21 to present (mainly adding
2001).
2007-01-14 03:38:22 +00:00
Thien-Thi Nguyen
aaef169dc6 Update years in copyright notice; nfc. 2006-02-06 15:23:23 +00:00
Stefan Monnier
96013ba9db (stop_other_atimers): Fix loop to correctly compute `prev'. 2005-11-29 22:37:27 +00:00
Thien-Thi Nguyen
0b5538bd85 Update years in copyright notice; nfc. 2005-08-07 12:33:19 +00:00
Lute Kamstra
4fc5845fe8 Update FSF's address. 2005-07-04 16:49:24 +00:00
Jan Djärv
333f1b6f78 * syssignal.h: Declare main_thread.
(SIGNAL_THREAD_CHECK): New macro.

* keyboard.c (input_available_signal): Move thread checking code
to macro SIGNAL_THREAD_CHECK and call that macro.
(interrupt_signal): Call SIGNAL_THREAD_CHECK.

* alloc.c (uninterrupt_malloc): Move main_thread to emacs.c.

* emacs.c: Define main_thread.
(main): Initialize main_thread.
(handle_USR1_signal, handle_USR2_signal, fatal_error_signal)
(memory_warning_signal): Call SIGNAL_THREAD_CHECK.

* floatfns.c (float_error): Call SIGNAL_THREAD_CHECK.

* dispnew.c (window_change_signal): Call SIGNAL_THREAD_CHECK.

* sysdep.c (select_alarm): Call SIGNAL_THREAD_CHECK.

* process.c (send_process_trap, sigchld_handler): Call
SIGNAL_THREAD_CHECK.

* data.c (arith_error): Call SIGNAL_THREAD_CHECK.

* atimer.c (alarm_signal_handler): Call SIGNAL_THREAD_CHECK.
2004-12-15 21:40:41 +00:00
Jan Djärv
fcdb28b473 * atimer.c (alarm_signal_handler): Do not call set_alarm if
pending_atmers is non-zero.
2004-10-31 12:25:46 +00:00
Steven Tamm
e082ac9deb Fixes for Ctrl-G support on carbon, replacing old timeout based polling
with alarm based polling.
mac.c (sys_select): Redo sys_select to use alarm-based
polling instead of 1 sec timeouts (like solaris).
macterm.c (x_make_frame_visible): Comment in polling on
frame creation.
keyboard.c: Undef SIGIO on Carbon
atimer.c (alarm_signal_handler): Call alarm handlers after
scheduling.
eval.c (Feval): Remove quit_char test
process.c (wait_reading_process_input): Remove clearing
stdin for select call on process input
2004-07-19 04:42:43 +00:00
Kim F. Storm
a0ecb2ac8e Update copyright. 2004-06-16 15:10:55 +00:00
Jan Djärv
5890e9f7ac Move include stdio.h to same place as in other files. 2004-02-09 15:39:49 +00:00
Miles Bader
ab5796a9f9 Add arch taglines 2003-09-01 15:45:59 +00:00
Juanma Barranquero
177c0ea743 Trailing whitespace deleted. 2003-02-04 14:56:31 +00:00
Gerd Moellmann
3ecd9cc373 (alarm_signal_handler) [USG && !POSIX_SIGNALS]:
Remove code setting signal handler.
2001-10-08 09:42:24 +00:00
Gerd Moellmann
32c82ac0a1 Don't define min/max. 2001-10-08 08:08:08 +00:00
Pavel Janík
5f351ff1f5 *** empty log message *** 2001-10-08 05:55:48 +00:00
Gerd Moellmann
a3aca278d6 (alarm_signal_handler): Add forward declaration. 2000-06-15 12:56:17 +00:00
Gerd Moellmann
4ab1d4be61 (cancel_atimer): Break out of the loop as soon as timer
has been found.  Fix bug not computing timer's predecessor.
2000-03-12 17:01:02 +00:00
Gerd Moellmann
50b1039fa7 (start_atimer): Don't abort when timers are stopped.
(append_atimer_lists): New function.
(cancel_atimer, stop_other_atimers, run_all_atimers): Handle
arbitrary lists of stopped and running atimers.
2000-02-29 13:50:23 +00:00
Gerd Moellmann
948709770a (cancel_atimer): Handle canceling an atimer when
some timers are stopped.
2000-02-29 09:31:42 +00:00
Gerd Moellmann
2503c8b1ae (stop_other_atimers): Don't call cancel_atimer because
that unblocks alarms.
2000-02-17 13:15:26 +00:00
Gerd Moellmann
9c2e3e8df1 (stopped_atimers): New variable.
(stop_other_atimers, run_all_atimers, unwind_stop_other_atimers):
New functions.
2000-02-12 13:13:13 +00:00
Eli Zaretskii
4ce94f9989 (start_atimer) [!HAVE_SETITIMER]: Use EMACS_SET_SECS
and EMACS_SET_USECS.
2000-01-27 15:17:27 +00:00
Gerd Moellmann
e12489f9ab *** empty log message *** 2000-01-25 15:59:42 +00:00