X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fcode%2Fexhaust.lisp;h=7c6ec727ab3c26f08c1bf9417178b5629b253224;hb=3fe0010d2777b41e01ea9b4a0f894cfa40f7df1b;hp=7de2f007085623ee139b3a457b7c35ae4f4c4c55;hpb=e365f2f7a9c66d307b48fee70778f4eaa84bdcc0;p=sbcl.git diff --git a/src/code/exhaust.lisp b/src/code/exhaust.lisp index 7de2f00..7c6ec72 100644 --- a/src/code/exhaust.lisp +++ b/src/code/exhaust.lisp @@ -13,9 +13,9 @@ (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)) + 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))) - - + (sb!thread::thread-%sap sb!thread:*current-thread*) (if n 1 0)))