[Stackless] stackless and threads

Oren Tirosh oren-slp at hishome.net
Sun Jul 13 20:32:48 CEST 2003


On Sun, Jul 13, 2003 at 06:47:22PM +0200, Christian Tismer wrote:
> >Could stackless be used to reduce the stack requirements of each thread
> >so a larger number of native threads can be started simultaneously?
> 
> I don't think so. Whenever you start a new thread, some large
> amount of memory is allocated for it. All tasklets in such
> a thread the use the same stack space, but I don't see how
> it can be reduced by that.

pthread_attr_setstacksize can be used to set the stack size to a lower
value.

    Oren
_______________________________________________
Stackless mailing list
Stackless at www.tismer.com
http://www.tismer.com/mailman/listinfo/stackless




More information about the Stackless mailing list