1. 01 Jan, 2020 1 commit
  2. 01 Jan, 2019 1 commit
  3. 01 Jan, 2018 1 commit
    • Paul Eggert's avatar
      Merge from Gnulib · 220a9ecb
      Paul Eggert authored
      This incorporates:
      2018-01-01 maint: Run 'make update-copyright'
      2017-12-29 Add cross-compilation results for GNU/Hurd.
      2017-12-12 explicit_bzero: port to macOS + Clang 9.0.0
      220a9ecb
  4. 01 Jan, 2017 1 commit
  5. 19 Jan, 2016 1 commit
    • Paul Eggert's avatar
      Merge from gnulib · cd19641e
      Paul Eggert authored
      This mostly just updates copyright dates of gnulib files.
      It also updates to the latest version of texinfo.tex.
      cd19641e
  6. 01 Jan, 2016 1 commit
    • Paul Eggert's avatar
      Merge from gnulib · 98253051
      Paul Eggert authored
      This mostly just updates copyright dates of gnulib files.
      It also updates to the latest version of texinfo.tex.
      98253051
  7. 01 Jan, 2015 2 commits
  8. 31 Jul, 2014 1 commit
    • Paul Eggert's avatar
      Simplify timerfd configuration and fix some minor glitches. · 5c6476b4
      Paul Eggert authored
      * configure.ac (HAVE_TIMERFD): Define only if TFD_CLOEXEC works,
      since the code leaked file descriptors to children when !TFD_CLOEXEC.
      (HAVE_TIMERFD_CLOEXEC): Remove; no longer used.
      * m4/clock_time.m4 (gl_CLOCK_TIME): Don't check for clock_getres.
      This reverts the previous change to this file, so it matches
      gnulib again.
      * src/atimer.c (TIMERFD_CREATE_FLAGS): Remove; we now assume TFD_CLOEXEC.
      (alarm_timer, alarm_timer_ok, set_alarm, init_atimer):
      Fall back on timer_create if timerfd_create fails at runtime.
      (resolution) [HAVE_CLOCK_GETRES]: Remove; we now rely on the
      kernel primitives to do resolution.  All uses removed.
      (timerfd) [!HAVE_TIMERFD]: Define to be -1, for convenience.
      (turn_on_atimers): Clear timer_create-based timers too,
      for consistency.
      5c6476b4
  9. 28 Jul, 2014 1 commit
    • Dmitry Antipov's avatar
      On GNU/Linux, use timerfd for asynchronous timers. · 768b24eb
      Dmitry Antipov authored
      * configure.ac (toplevel): Check whether GNU/Linux-specific
      timerfd functions and macros are available.
      * m4/clock_time.m4 (gl_CLOCK_TIME): Check for clock_getres as well.
      * src/atimer.c (toplevel) [HAVE_TIMERFD]: Include sys/timerfd.h.
      (toplevel): Rename alarm_timer_ok to special_timer_available.
      [HAVE_TIMERFD]: Declare timerfd.
      [HAVE_CLOCK_GETRES]: Declare resolution.
      (start_atimer) [HAVE_CLOCK_GETRES]: Round up timestamp to
      system timer resolution.
      (set_alarm) [HAVE_TIMERFD]: Use timerfd_settime.
      (timerfd_callback) [HAVE_TIMERFD]: New function.
      (atimer_result, debug_timer_callback, Fdebug_timer_check)
      [ENABLE_CHECKING]: New function for the sake of automated tests.
      (init_atimer) [HAVE_TIMERFD]: Setup timerfd.
      [HAVE_CLOCK_GETRES]: Likewise for system timer resolution.
      [ENABLE_CHECKING]: Defsubr test function.
      * src/atimer.h (timerfd_callback) [HAVE_TIMERFD]: Add prototype.
      * src/lisp.h (add_timer_wait_descriptor) [HAVE_TIMERFD]: Likewise.
      * src/process.c (add_timer_wait_descriptor) [HAVE_TIMERFD]: New function.
      * test/automated/timer-tests.el (timer-tests-debug-timer-check): New test.
      768b24eb
  10. 01 Jan, 2014 1 commit
  11. 01 Jan, 2013 1 commit
  12. 22 Jun, 2012 1 commit