X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcode%2Fexhaust.lisp;h=b1cf7918cd9d2194d7fe1a09bfbe21de9e70cf41;hb=8dbc4249380e18a193f4e79306bd958cd88ad9aa;hp=7de2f007085623ee139b3a457b7c35ae4f4c4c55;hpb=e365f2f7a9c66d307b48fee70778f4eaa84bdcc0;p=sbcl.git diff --git a/src/code/exhaust.lisp b/src/code/exhaust.lisp index 7de2f00..b1cf791 100644 --- a/src/code/exhaust.lisp +++ b/src/code/exhaust.lisp @@ -12,10 +12,10 @@ (in-package "SB!KERNEL") (define-alien-routine ("protect_control_stack_guard_page" - %protect-control-stack-guard-page) - sb!alien:int (thread-id sb!alien:int) (protect-p sb!alien:int)) + %protect-control-stack-guard-page) + sb!alien:void + (thread-sap system-area-pointer) + (protect-p sb!alien:int)) (defun protect-control-stack-guard-page (n) - (%protect-control-stack-guard-page - (sb!thread:current-thread-id) (if n 1 0))) - - + (%protect-control-stack-guard-page + (sb!thread::thread-%sap sb!thread:*current-thread*) (if n 1 0)))