在 2026-9-28 19:00, Luca Bacci 写道:
This a simple table which maps pointers to pointers.
---
  mingw-w64-libraries/winpthreads/src/misc.c | 175 +++++++++++++++++++++
  mingw-w64-libraries/winpthreads/src/misc.h |  26 +++
  2 files changed, 201 insertions(+)


Depending how much this table will be used, does it make sense to use a hash 
table here?

I think a pointer-to-pointer table is almost an exact match to mine, in similar number of lines of code: https://github.com/lhmouse/mcfgthread/blob/0652b2c9c8beded1f2a8c0f6af846786543662a9/mcfgthread/src/tls.c#L43-L75



--
Best regards,
LIU Hao

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to