*sg-default-size*
Variable
- Summary
-
- Default initial size of a stack group, in 32 bit words.
- Package
system
- Initial Value
16000
- Description
-
- This variable can be bound around a call to a process creation function. Note that setting the global value of this variable affects the size of all system processes too, so this is not recommended.
- Example
-
- To create a process with a stack of 32000 words:
(let ((lw:*sg-default-size* 32000))
(mp:process-run-function "Larger stack" '()
#'(lambda (print (lw::current-stack-length)))))