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 08/11] Cygwin: testsuite: Busy-wait in cancel3 and cancel5

2023-07-14 Thread Jon Turney
On 13/07/2023 19:53, Corinna Vinschen wrote: On Jul 13 20:37, Corinna Vinschen wrote: On Jul 13 20:16, Corinna Vinschen wrote: On Jul 13 12:39, Jon Turney wrote: These tests async thread cancellation of a thread that doesn't have any cancellation points. Unfortunately, since 450f557f the asyn

Re: [PATCH 09/11] Cygwin: testsuite: Fix a buffer overflow in symlink01

2023-07-14 Thread Jon Turney
On 13/07/2023 19:17, Corinna Vinschen wrote: On Jul 13 12:39, Jon Turney wrote: See ltp commit 44d51c3f Can you please add some text which helps the reader to understand the issue without having to refer to the ltp repo? Sure, I added that.

Re: [PATCH 08/11] Cygwin: testsuite: Busy-wait in cancel3 and cancel5

2023-07-14 Thread Corinna Vinschen
On Jul 14 14:04, Jon Turney wrote: > On 13/07/2023 19:53, Corinna Vinschen wrote: > > > > Nevertheless, I think this is ok to do. The description of > > > > pthread_cancel > > > > contains this: > > > > > > > >Asynchronous cancelability means that the thread can be canceled at > > > >any