Re: [PATCH] Cygwin: pthread: Take note of schedparam in pthread_create

2023-07-14 Thread Jon Turney
On 13/07/2023 19:00, Corinna Vinschen wrote: On Jul 13 14:14, Jon Turney wrote: Take note of schedparam in any pthread_attr_t passed to pthread_create. postcreate() (racily, after the thread is actually created), sets the scheduling priority if it's inherited, but precreate() doesn't store any

Re: [PATCH] Cygwin: pthread: Take note of schedparam in pthread_create

2023-07-13 Thread Corinna Vinschen
On Jul 13 14:14, Jon Turney wrote: > Take note of schedparam in any pthread_attr_t passed to pthread_create. > > postcreate() (racily, after the thread is actually created), sets the > scheduling priority if it's inherited, but precreate() doesn't store any > scheduling priority explicitly set via

[PATCH] Cygwin: pthread: Take note of schedparam in pthread_create

2023-07-13 Thread Jon Turney
Take note of schedparam in any pthread_attr_t passed to pthread_create. postcreate() (racily, after the thread is actually created), sets the scheduling priority if it's inherited, but precreate() doesn't store any scheduling priority explicitly set via a non-default attr to create, so schedparam.