From 22ad89ec11a8ef517ede76227dae7df9b7fc5c7f Mon Sep 17 00:00:00 2001 From: Douglas Katzman Date: Mon, 3 Nov 2025 11:34:24 -0500 Subject: [PATCH] Prevent the clock identifiers from being shaken out --- src/cold/exports.lisp | 1 + tests/clockget.pure.lisp | 5 +++++ 2 files changed, 6 insertions(+) create mode 100644 tests/clockget.pure.lisp diff --git a/src/cold/exports.lisp b/src/cold/exports.lisp index 3abd97b8a..e1a5c8fbe 100644 --- a/src/cold/exports.lisp +++ b/src/cold/exports.lisp @@ -1313,6 +1313,7 @@ interface stability.") "SC-NPROCESSORS-ONLN" "VOID-SYSCALL" "CLOCK-THREAD-CPUTIME-ID" "CLOCK-PROCESS-CPUTIME-ID" "CLOCK-REALTIME" + "CLOCK-MONOTONIC" "CLOCK-MONOTONIC-RAW" "CLOCK-MONOTONIC-COARSE" ;; signals diff --git a/tests/clockget.pure.lisp b/tests/clockget.pure.lisp new file mode 100644 index 000000000..533b56e1c --- /dev/null +++ b/tests/clockget.pure.lisp @@ -0,0 +1,5 @@ +#+linux ; the CLOCK- symbols may not exist +(with-test (:name :clock-gettime) + (sb-unix:clock-gettime sb-unix:clock-monotonic-raw) + (sb-unix:clock-gettime sb-unix:clock-monotonic-coarse) + (sb-unix:clock-gettime sb-unix:clock-monotonic))