> POSIX currently says: > > The behavior is undefined if the value specified by the attr > argument to pthread_create() does not refer to an initialized thread > attributes object.
I don't see that bit: http://pubs.opengroup.org/onlinepubs/009695399/functions/pthread_create.html On the contrary, I see what our manual states: [EINVAL] The attributes specified by attr are invalid.