2021-08-01 19:13 (UTC-0700), Jeremy Drake via Mingw-w64-public:
> On Mon, 2 Aug 2021, Dmitry Kozlyuk wrote:
>
> > Hello,
> >
> > Does MinGW-w64 builds support native thread-local storage (TLS),
>
> If by MinGW-w64 you mean GCC targeting MinGW-w64, then no. GCC o
Hello,
Does MinGW-w64 builds support native thread-local storage (TLS),
i.e. placing TLS variables to the array pointed via TEB?
I'm trying to find a way to use TLS from a shared library,
even if through a macro, that will work for both MinGW-w64 and clang
at the same time (i.e. no #ifdef when acc
Thanks, Liu!
2021-02-22 09:44, Liu Hao:
> > AFAICT `timespec_get(ts, TIME_UTC)` is equivalent to
> > `clock_gettime(CLOCK_REALTIME, ts)`, which is
> > implemented in winpthreads (and may require `-pthread`). It might have been
> > left unimplemented
> > because people wanted to use the POSIX one
timespec_get() is missing from MinGW-w64 despite it appeared even in C11.
Implementation seems to be a few lines already present in gettimeofday().
Is it an oversight or it's intentionally not implemented?
___
Mingw-w64-public mailing list
Mingw-w64-pub