Hi Kirill, thanks for the review!
> I consider moving contents of misc.c to other files and remove it completely
> in future changes
May I ask why? There are utilities like
pthread_wait_for_{single,multiple}_object which are used by many TUs. I was
thinking about using winpthreads_table_t to optimize condition variables, which
is why I added the code in misc.c
Best Regards,
Luca
________________________________
Da: Kirill Makurin <[email protected]>
Inviato: lunedì 28 settembre 2026 13:32
A: [email protected]
<[email protected]>
Oggetto: Re: [Mingw-w64-public] [PATCH 3/6] winpthreads: Add unordered table
implementation
Luca Bacci <[email protected]> wrote:
> mingw-w64-libraries/winpthreads/src/misc.c | 175 +++++++++++++++++++++
> mingw-w64-libraries/winpthreads/src/misc.h | 26 +++
> 2 files changed, 201 insertions(+)
I see that in 5/6 you move `pthread_once` implementation to new file once.c. I
considered moving `pthread_once` implementation to a separate file as well.
I consider moving contents of misc.c to other files and remove it completely in
future changes. Maybe you could first move current `pthread_once`
implementation to once.c, and then add support functions in that new file
instead of misc.c?
- Kirill Makurin
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public