aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog
diff options
context:
space:
mode:
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index bf519556334..2efebc6754d 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,22 @@
12012-10-27 Eli Zaretskii <eliz@gnu.org>
2
3 Avoid overflow in w32 implementation of interval timers. When
4 possible, for ITIMER_PROF count only times the main thread
5 actually executes.
6 * w32proc.c <struct itimer_data>: 'expire' and 'reload' are now
7 ULONGLONG types. Likewise for all the other data which was
8 previously clock_t.
9 (GetThreadTimes_Proc): New typedef.
10 (w32_get_timer_time): New function, returns a suitable time value
11 for the timer.
12 (timer_loop): Enter critical section when accessing ULONGLONG
13 values of the itimer_data struct, as these accesses are no longer
14 atomic. Call 'w32_get_timer_time' instead of 'clock'.
15 (init_timers): Initialize s_pfn_Get_Thread_Times.
16 (start_timer_thread): Don't assign itimer->caller_thread here.
17 (getitimer): Assign itimer->caller_thread here.
18 (setitimer): Always call getitimer to get the value of ticks_now.
19
12012-10-26 Eli Zaretskii <eliz@gnu.org> 202012-10-26 Eli Zaretskii <eliz@gnu.org>
2 21
3 * w32fns.c (w32_wnd_proc) <WM_MOUSEMOVE>: Don't enable tracking of 22 * w32fns.c (w32_wnd_proc) <WM_MOUSEMOVE>: Don't enable tracking of