[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: misc/42871: pthread_create(3): improve wording and add a reference
The following reply was made to PR misc/42871; it has been noted by GNATS.
From: Emil Hessman <ceh%update.uu.se@localhost>
Cc: misc-bug-people%netbsd.org@localhost, gnats-admin%netbsd.org@localhost,
Subject: Re: misc/42871: pthread_create(3): improve wording and add a
Date: Tue, 23 Feb 2010 09:40:24 +0100
On Tue, Feb 23, 2010 at 06:50, Matthew Mondor
> =C2=A0Unfortunately, I find "pointed to by attr" (attr is a pointer to a
> =C2=A0pthread_attr_t object) to the more precise...
> =C2=A0Or perhaps it'd even be good to specify that the attributes are cop=
> =C2=A0by pthread_create(3) such that changing them has no effect on alrea=
> =C2=A0created threads like the following (please correct as needed, or
> =C2=A0suggest other alternatives):
> =C2=A0"The attributes specified via the pthread_attr_t object, if any, ar=
> =C2=A0copied for the new thread by pthread_create(3). =C2=A0Thus, if the =
> =C2=A0object is modified after creating a thread, that thread's attribute=
> =C2=A0are not affected. =C2=A0It is also safe to reuse the same attribute=
> =C2=A0to create multiple threads." ?
Much better, clear as crystal.
Main Index |
Thread Index |