Subject: Re: why python+pth?
To: Christian Limpach <firstname.lastname@example.org>
From: Perry E.Metzger <email@example.com>
Date: 11/18/2003 09:34:24
Christian Limpach <firstname.lastname@example.org> writes:
> On Tue, 18 Nov 2003 10:14:47 +0100 Marc Recht <email@example.com> 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