GNU bug report logs -
#12447
24.1.50; Stuck in garbage collection on OS X
Previous Next
Full log
View this message in rfc822 format
> Date: Sat, 15 Sep 2012 15:19:09 +0200 (CEST)
> Cc: jan.h.d <at> swipnet.se, 12447 <at> debbugs.gnu.org
> From: Harald Hanche-Olsen <hanche <at> math.ntnu.no>
>
> [Eli Zaretskii <eliz <at> gnu.org> (2012-09-15 12:31:50 UTC)]
>
> > No, the real story of how timers work is in process.c. See the
> > function wait_reading_process_output there, which runs the timers via
> > the call to timer_check around line 4444; time_check and its
> > subroutines are in keyboard.c.
> >
> > timer.el is just the Lisp interface to that code, used to create,
> > delete, and manage timer objects.
>
> Okay, I'll study it; but it seems ludicrous that you need to read C
> code in order to use timers from elisp without causing emacs to hang.
??? AFAIU, you are trying to track a bug, not use the timers. You
specifically asked about "how the timers work at a lower level".
Using timers does not involve any reading of C code; just read the
"Timers" and "Idle timers" nodes of the ELisp manual, and Bob's your
uncle. No low-level knowledge is needed just for using timers.
This bug report was last modified 12 years and 247 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.