Opened 11 years ago
Closed 11 years ago
#5956 closed Feature Requests (duplicate)
Add optional stack_size argument to thread::start_thread()
Reported by: | Owned by: | Anthony Williams | |
---|---|---|---|
Milestone: | To Be Determined | Component: | thread |
Version: | Severity: | Optimization | |
Keywords: | phusion passenger stack_size | Cc: | viboes |
Description
The Phusion Passenger folks have added an optional argument to thread::start_thread() that I'd like to see merged into Boost.
This is useful in Passenger's case where they want to reduce the VM size without requiring the user to hassle with ulimit settings on Linux. Passenger spawns many threads rather than using a thread pool for performance reasons.
This change is, its current form, platform-specific, but I'm working on correcting that, hopefully without a ton of ifdefs.
Attachments (1)
Change History (7)
by , 11 years ago
Attachment: | phusion_optional_stack_size.patch added |
---|
comment:2 by , 11 years ago
Type: | Library Submissions → Feature Requests |
---|
comment:3 by , 11 years ago
Could I close this ticket as a duplicate of #2741 proposal to manage portable and non portable thread attributes?
comment:4 by , 11 years ago
Cc: | added |
---|
comment:6 by , 11 years ago
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Initial implementation of optional stack_size argument for thread::start_thread