Re: pthread_create oddity

2015-08-10 Thread Steven Schveighoffer via Digitalmars-d
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

Re: pthread_create oddity

2015-08-08 Thread Andrei Alexandrescu via Digitalmars-d
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.

Re: pthread_create oddity

2015-08-07 Thread Daniel Kozak via Digitalmars-d
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

Re: pthread_create oddity

2015-08-07 Thread Steven Schveighoffer via Digitalmars-d
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

pthread_create oddity

2015-08-07 Thread Andrei Alexandrescu via Digitalmars-d
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