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: Coroutines with call/cc


"Peder Chr. Norgaard" <pcn@tbit.dk> 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.

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