bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cnd_timedout returns immediately when built with MinGW


From: Bruno Haible
Subject: Re: cnd_timedout returns immediately when built with MinGW
Date: Sat, 06 Aug 2022 19:40:11 +0200

Tim Rühsen wrote:
> I read that even the MS C compilers / libraries support ISO C thread 
> nowadays,

I can't confirm this. If it were true, they would have documentation for it.
But a web search for "mtx_lock site:microsoft.com" returns no meaningul
results.

> Testing with wine, as I don't own a Windows license.
> Have to carry a USB stick to a friend in order to test on real Windows 
> (trying to avoid that).

Yes, working like this is tedious.

> '--enable-threads=windows' does not work with MinGW since 'threads.h' is 
> not available via gnulib then.

?? What do you mean? You have imported the 'threads' module, and it provides
a <threads.h> file.

When I create a testdir for the 'threads' module and build it on mingw,
all tests pass, except for a hanging 'test-nanosleep'.

Maybe you are lacking a -I directive to the build directory where threads.h
has been generated?

Bruno






reply via email to

[Prev in Thread] Current Thread [Next in Thread]