On 8/8/15 8:40 AM, Andrei Alexandrescu wrote:
pthread_getstacksize indicates 8,388,608 bytes. It doesn't seem
excessive, but the 32-bit build does find that too big. If I try to set
stack size to that value with pthread_setstacksize, indeed the thread
fails. So it's not that you need to call pth
On 8/7/15 2:20 PM, Steven Schveighoffer wrote:
On 8/7/15 1:36 PM, Andrei Alexandrescu wrote:
I ran into an oddity of pthread_create, see
https://github.com/D-Programming-Language/druntime/pull/1340. It appears
that if stack size is not explicitly set, the 32-bit version of
pthread_create fails.
V Fri, 07 Aug 2015 14:20:59 -0400
Steven Schveighoffer via Digitalmars-d
napsáno:
> On 8/7/15 1:36 PM, Andrei Alexandrescu wrote:
> > I ran into an oddity of pthread_create, see
> > https://github.com/D-Programming-Language/druntime/pull/1340. It
> > appears that if stack size is not explicitly s
On 8/7/15 1:36 PM, Andrei Alexandrescu wrote:
I ran into an oddity of pthread_create, see
https://github.com/D-Programming-Language/druntime/pull/1340. It appears
that if stack size is not explicitly set, the 32-bit version of
pthread_create fails. That's happening at least on Ubuntu64 under VMWa
I ran into an oddity of pthread_create, see
https://github.com/D-Programming-Language/druntime/pull/1340. It appears
that if stack size is not explicitly set, the 32-bit version of
pthread_create fails. That's happening at least on Ubuntu64 under VMWare
hosted on Linux.
Unrelated: what's the