This is the mail archive of the guile@cygnus.com mailing list for the guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: How to measure the size of the stack


Mikael Djurfeldt <mdj@nada.kth.se> writes:

> There are two stack limits in Guile:
> 
> 1. The stack check limit which is used when debugging programs to
>    detect when the stack grows too large.  It is one of the
>    `debug-options'.
> 
> 2. The amount of memory allocated for the stack when spawning new
>    threads.  It is in `eval-options'.
> 
> Silly me have chosen to measure the first limit in words and the
> second in bytes.
> 
> We should of course be consistent.

1998-04-13  Mikael Djurfeldt  <mdj@kenneth>

	* eval.c, eval.h, coop.c (scm_eval_stack, SCM_EVAL_STACK):
Measure
	stack size in machine words.