diff options
| author | Andrea Corallo | 2023-01-10 16:15:58 +0100 |
|---|---|---|
| committer | Andrea Corallo | 2023-01-10 16:18:35 +0100 |
| commit | 718c56194ddd9d25d0ddd6f22f6b91310b4876ec (patch) | |
| tree | f3e80935c4e1f96b51fa0e696388ee5598019494 /src/atimer.h | |
| parent | 60240f54e5fed16a0522fb766ffef073db596f1f (diff) | |
| download | emacs-scratch/native-timers-blocked.tar.gz emacs-scratch/native-timers-blocked.zip | |
Block atimers while loading native codescratch/native-timers-blocked
Diffstat (limited to 'src/atimer.h')
| -rw-r--r-- | src/atimer.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/atimer.h b/src/atimer.h index 551c186d24e..54d163c93fa 100644 --- a/src/atimer.h +++ b/src/atimer.h | |||
| @@ -20,6 +20,7 @@ along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */ | |||
| 20 | #define EMACS_ATIMER_H | 20 | #define EMACS_ATIMER_H |
| 21 | 21 | ||
| 22 | #include <time.h> | 22 | #include <time.h> |
| 23 | #include "syssignal.h" | ||
| 23 | 24 | ||
| 24 | /* Forward declaration. */ | 25 | /* Forward declaration. */ |
| 25 | 26 | ||
| @@ -69,6 +70,8 @@ struct atimer | |||
| 69 | 70 | ||
| 70 | /* Function prototypes. */ | 71 | /* Function prototypes. */ |
| 71 | 72 | ||
| 73 | void block_atimers (sigset_t *); | ||
| 74 | void unblock_atimers (sigset_t const *); | ||
| 72 | struct atimer *start_atimer (enum atimer_type, struct timespec, | 75 | struct atimer *start_atimer (enum atimer_type, struct timespec, |
| 73 | atimer_callback, void *); | 76 | atimer_callback, void *); |
| 74 | void cancel_atimer (struct atimer *); | 77 | void cancel_atimer (struct atimer *); |