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 VMWare hosted on Linux.
What is the stack size using pthread_getstacksize before the setting of it? I would think with pthread_attr_init, it should be a reasonable default. -Steve
