X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fcode%2Fexhaust.lisp;h=7c6ec727ab3c26f08c1bf9417178b5629b253224;hb=3fe0010d2777b41e01ea9b4a0f894cfa40f7df1b;hp=6724c66c65b6dbc97c54d9928ed6d9730a059ab8;hpb=d8e682fdfb7e8ba067e15aea0f3d1f8d37ca9eb1;p=sbcl.git diff --git a/src/code/exhaust.lisp b/src/code/exhaust.lisp index 6724c66..7c6ec72 100644 --- a/src/code/exhaust.lisp +++ b/src/code/exhaust.lisp @@ -14,11 +14,8 @@ (define-alien-routine ("protect_control_stack_guard_page" %protect-control-stack-guard-page) sb!alien:void - (thread-id #!+sb-thread sb!alien:unsigned-long - #!-sb-thread sb!alien:int) + (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)))