1.0.22.22: (SETF FIND-CLASSOID) to drop DEFTYPE lambda-lists and source-locations
[sbcl/tcr.git] / src / code / exhaust.lisp
bloba96112b2a82e7b6269144bf9d0a54bc4ba4a4a96
1 ;;;; detecting and handling exhaustion of fundamental system resources
2 ;;;; (stack or heap)
4 ;;;; This software is part of the SBCL system. See the README file for
5 ;;;; more information.
6 ;;;;
7 ;;;; This software is derived from the CMU CL system, which was
8 ;;;; written at Carnegie Mellon University and released into the
9 ;;;; public domain. The software is in the public domain and is
10 ;;;; provided with absolutely no warranty. See the COPYING and CREDITS
11 ;;;; files for more information.
13 (in-package "SB!KERNEL")
14 (define-alien-routine ("protect_control_stack_guard_page"
15 %protect-control-stack-guard-page)
16 sb!alien:void
17 (protect-p sb!alien:int))
18 (defun protect-control-stack-guard-page (n)
19 (%protect-control-stack-guard-page (if n 1 0)))