A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.lispworks.com/documentation/lw71/LW/html/lw-1450.htm below:

*sg-default-size*

*sg-default-size* Summary

Default initial size of a stack group.

Initial value

In LispWorks (64-bit) for Solaris:

20000

In LispWorks (64-bit) on ARM64:

18000

In all other implementations:

16000

Description

The value of the variable *sg-default-size* is the initial size of a stack group, in 32 bit words (in 32-bit implementations) or in 64 bit words (in 64-bit implementations).

*sg-default-size* 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 ((sys:*sg-default-size* 32000))
  (mp:process-run-function "Larger stack" '()
     #'(lambda () 
         (print (hcl:current-stack-length)))))

LispWorks User Guide and Reference Manual - 20 Sep 2017


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4