Boost logo

Boost :

Subject: Re: [boost] [thread] patch to allow custom stack size.
From: Vicente J. Botet Escriba (vicente.botet_at_[hidden])
Date: 2011-11-30 13:11:23

Le 30/11/11 17:13, Brett Lentz a écrit :
> Hash: SHA1
> Patch and (very) rudimentary usage example is attached.
> A couple months ago, I sent mail to the list looking to see if there's
> interest in getting some patches merged from Phusion Passenger. (See:
> )
> So, here's the first patch I'd like to try to get committed. On
> pthread-based systems, it allows for the user to request a custom
> stack size.
> This is useful in Passenger's case where they want to reduce the VM size
> without requiring the user to hassle with ulimit settings.
> Passenger spawns many threads rather than using a thread pool for
> performance reasons. As a result of this design decision, they also
> need the ability to tune the stack size.
> Ticket #5956 already exists for this patch. I've verified that the
> patch works against the current (1.49) codebase out of SVN.
> What next steps need to be taken before this is committed?

I don't know. I have submitted a more generic patch *3 years* ago and
there is no response yet. :proposal to manage
portable and non portable thread attributes

Btw, could you take a look at the ticket and tell me what do you think
of my proposal?


Boost list run by bdawes at, gregod at, cpdaniel at, john at