Subject: Re: why python+pth?
To: Christian Limpach <email@example.com>
From: Perry E.Metzger <firstname.lastname@example.org>
Date: 11/18/2003 09:34:24
Christian Limpach <email@example.com> writes:
> On Tue, 18 Nov 2003 10:14:47 +0100 Marc Recht <firstname.lastname@example.org> wrote:
>> > I know of no other systems where this is necessary.
>> AFAIK the other systems implement "pthread_attr_setstacksize".
> well, we have "pthread_attr_setstacksize" but it doesn't change the
> stack size. This is probably because we only support one stack size for
> all stacks.
Can we fix that? This will improve things for a number of
> If we wanted to support different stack sizes, we could use a tree to
> find the thread. We'd take a performance hit searching the tree, so we'd
> only use this if there are any stacks with a different size. Other
> suggestions are welcome...
How is pthread_attr_setstacksize typically used? We might be able to
optimize if we typically have only a small number of different stack