From: Baptiste Lepilleur (blepctc_at_[hidden])
Date: 2008-08-14 03:16:02
I second this query. boost.thread is pretty much unusable on AIX as you end
up with thread having a stack size of about 96K.
>From what I've seen in the code, no stack size (or any other attributes) is
specified on thread creation. Unless I'm mistaken, this means the thread is
created with whatever the OS assumes to be a reasonnable default. This can
be fairly low on some platforms...
IMHO, either an API should be provided to set the stack size or some "more
pratical/portable default" should be hard-coded in thread creation.
----- Original Message -----
From: "Rajpal Dangi" <rajpal.dangi_at_[hidden]>
Sent: Thursday, August 14, 2008 3:38 AM
Subject: [boost] Boost.threads: Setting stack size
> Is it possible to set Boost thread stack size? How much is the default
> thread stack size?
> In the past also this question has been asked and I saw some answers
> which indicates that some work was in progress to set thread attributes
> at the time of its creation.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk