pthread_create oddity
Daniel Kozak via Digitalmars-d
digitalmars-d at puremagic.com
Fri Aug 7 12:37:49 PDT 2015
V Fri, 07 Aug 2015 14:20:59 -0400
Steven Schveighoffer via Digitalmars-d <digitalmars-d at puremagic.com>
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 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.
Yes it is a default, which is zero, so problem is somewhere else
>
> -Steve
More information about the Digitalmars-d
mailing list