diff options
author | Eli Zaretskii <eliz@gnu.org> | 2012-11-14 18:41:43 +0200 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2012-11-14 18:41:43 +0200 |
commit | 730b2d8f6b5851dc462b79b8bd48068c1b9f1932 (patch) | |
tree | f608a34a8622871ad0742a2959fc435a94f468b5 /lisp/cedet/semantic/idle.el | |
parent | 921c067f4309c3eab0aa536723683bada6802545 (diff) | |
download | emacs-730b2d8f6b5851dc462b79b8bd48068c1b9f1932.tar.gz |
Clean up w32 timer thread code in the hope of solving bug #12832.
src/w32proc.c (timer_loop): Make sure SuspendThread and ResumeThread
use the same value of thread handle.
(start_timer_thread): If the timer thread exited (due to error),
clean up by closing the two handles it used. Duplicate the caller
thread's handle here, so it gets duplicated only once, when
launching the timer thread. Set priority of the timer thread, not
the caller thread.
(getitimer): Don't duplicate the caller thread's handle here.
Diffstat (limited to 'lisp/cedet/semantic/idle.el')
0 files changed, 0 insertions, 0 deletions