1.0.28.66: implement SB-EXT:GET-TIME-OF-DAY
[sbcl.git] / src / code / exhaust.lisp
index 7c6ec72..98fa6bc 100644 (file)
 
 (in-package "SB!KERNEL")
 (define-alien-routine ("protect_control_stack_guard_page"
-                      %protect-control-stack-guard-page)
+                       %protect-control-stack-guard-page)
     sb!alien:void
-  (thread-sap system-area-pointer)
-  (protect-p sb!alien:int))
+  (protect-p sb!alien:int)
+  (thread sb!alien:int))
 (defun protect-control-stack-guard-page (n)
-  (%protect-control-stack-guard-page 
-   (sb!thread::thread-%sap sb!thread:*current-thread*) (if n 1 0)))
+  (%protect-control-stack-guard-page (if n 1 0) 0))