Prevent the clock identifiers from being shaken out

This commit is contained in:
Douglas Katzman 2025-11-03 11:34:24 -05:00
parent a3d0bed96a
commit 22ad89ec11
2 changed files with 6 additions and 0 deletions

View file

@ -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

5
tests/clockget.pure.lisp Normal file
View file

@ -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))