Guile Mailing List Archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Coroutines with call/cc

"Peder Chr. Norgaard" <> writes:

> The cost of the guile thread is in terms of memory:  each
> thread needs a large piece of RAM that to allow for any possible stack,
> both C and Scheme.  That is fine for heavier things like multiplexing
> network traffic, for instance, but too expensive for an arbitrary data
> access tool.

You can tell Guile how much memory to allocate for threads.

  (eval-set! stack <n>)

where <n> is the size of the stack in words.

Guile Home | Main Index | Thread Index