aboutsummaryrefslogtreecommitdiffstats
path: root/ChangeLog
diff options
context:
space:
mode:
authorPaul Eggert2012-10-03 17:10:47 -0700
committerPaul Eggert2012-10-03 17:10:47 -0700
commit2b794d6940aa7dc58e297b3649b7799190d71f64 (patch)
treed0ec1a7864e6198e0c7ea764e8477cd0e48d12c7 /ChangeLog
parenta1a9f411ab644cb191442ea1de4bc1370341cc88 (diff)
downloademacs-2b794d6940aa7dc58e297b3649b7799190d71f64.tar.gz
emacs-2b794d6940aa7dc58e297b3649b7799190d71f64.zip
Port timers to OpenBSD, plus check for timer failures.
OpenBSD problem reported by Han Boetes. * profiler.c (setup_cpu_timer): Check for failure of timer_settime and/or setitimer. (Fprofiler_cpu_stop): Don't assume HAVE_SETITIMER. * syssignal.h (HAVE_ITIMERSPEC): New macro. This is for platforms like OpenBSD, which has timer_settime but does not declare it. OpenBSD does not define SIGEV_SIGNAL, so use that when deciding whether to use itimerspec-related primitives. All uses of HAVE_TIMER_SETTIME replaced with HAVE_ITIMERSPEC.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog13
1 files changed, 13 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 411ef633420..019913e27d3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,16 @@
12012-10-04 Paul Eggert <eggert@cs.ucla.edu>
2
3 Port timers to OpenBSD, plus check for timer failures.
4 OpenBSD problem reported by Han Boetes.
5 * profiler.c (setup_cpu_timer): Check for failure of timer_settime
6 and/or setitimer.
7 (Fprofiler_cpu_stop): Don't assume HAVE_SETITIMER.
8 * syssignal.h (HAVE_ITIMERSPEC): New macro. This is for platforms
9 like OpenBSD, which has timer_settime but does not declare it.
10 OpenBSD does not define SIGEV_SIGNAL, so use that when deciding
11 whether to use itimerspec-related primitives. All uses of
12 HAVE_TIMER_SETTIME replaced with HAVE_ITIMERSPEC.
13
12012-09-30 Paul Eggert <eggert@cs.ucla.edu> 142012-09-30 Paul Eggert <eggert@cs.ucla.edu>
2 15
3 Merge from gnulib, incorporating: 16 Merge from gnulib, incorporating: