diff options
| author | Eli Zaretskii | 2012-11-14 18:41:43 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2012-11-14 18:41:43 +0200 |
| commit | 730b2d8f6b5851dc462b79b8bd48068c1b9f1932 (patch) | |
| tree | f608a34a8622871ad0742a2959fc435a94f468b5 /src/ChangeLog | |
| parent | 921c067f4309c3eab0aa536723683bada6802545 (diff) | |
| download | emacs-730b2d8f6b5851dc462b79b8bd48068c1b9f1932.tar.gz emacs-730b2d8f6b5851dc462b79b8bd48068c1b9f1932.zip | |
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 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index d72091c0ed6..9caa5113444 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,15 @@ | |||
| 1 | 2012-11-14 Eli Zaretskii <eliz@gnu.org> | ||
| 2 | |||
| 3 | * w32proc.c (timer_loop): Make sure SuspendThread and ResumeThread | ||
| 4 | use the same value of thread handle. | ||
| 5 | (start_timer_thread): If the timer thread exited (due to error), | ||
| 6 | clean up by closing the two handles it used. Duplicate the caller | ||
| 7 | thread's handle here, so it gets duplicated only once, when | ||
| 8 | launching the timer thread. Set priority of the timer thread, not | ||
| 9 | the caller thread. | ||
| 10 | (getitimer): Don't duplicate the caller thread's handle here. | ||
| 11 | (Bug#12832) | ||
| 12 | |||
| 1 | 2012-11-13 Jan Djärv <jan.h.d@swipnet.se> | 13 | 2012-11-13 Jan Djärv <jan.h.d@swipnet.se> |
| 2 | 14 | ||
| 3 | * nsterm.m (hold_event): Send SIGIO to make sure ns_read_socket is | 15 | * nsterm.m (hold_event): Send SIGIO to make sure ns_read_socket is |