X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/3a880af4a79688e90da45311a8d85bae2d59a811..287d70764c83f6054eb2a0ede942eda01c20fcdf:/src/atimer.h diff --git a/src/atimer.h b/src/atimer.h index 6d441d7164..8c4d732aa4 100644 --- a/src/atimer.h +++ b/src/atimer.h @@ -1,5 +1,5 @@ /* Asynchronous timers. - Copyright (C) 2000-2012 Free Software Foundation, Inc. + Copyright (C) 2000-2013 Free Software Foundation, Inc. This file is part of GNU Emacs. @@ -19,8 +19,8 @@ along with GNU Emacs. If not, see . */ #ifndef EMACS_ATIMER_H #define EMACS_ATIMER_H -#include "systime.h" /* for EMACS_TIME */ #include +#include /* Forward declaration. */ @@ -52,10 +52,10 @@ struct atimer enum atimer_type type; /* Time when this timer is ripe. */ - EMACS_TIME expiration; + struct timespec expiration; /* Interval of this timer. */ - EMACS_TIME interval; + struct timespec interval; /* Function to call when timer is ripe. Interrupt input is guaranteed to not be blocked when this function is called. */ @@ -70,13 +70,13 @@ struct atimer /* Function prototypes. */ -struct atimer *start_atimer (enum atimer_type, EMACS_TIME, +struct atimer *start_atimer (enum atimer_type, struct timespec, atimer_callback, void *); void cancel_atimer (struct atimer *); void do_pending_atimers (void); void init_atimer (void); void turn_on_atimers (bool); void stop_other_atimers (struct atimer *); -Lisp_Object unwind_stop_other_atimers (Lisp_Object); +void run_all_atimers (void); #endif /* EMACS_ATIMER_H */