Re: buy into mingw winpthreads?

2019-05-18 Thread Bruno Haible
While it is hard to make a decision for all packages altogether, specific packages should have an easy way to set their preferred default. 2019-05-18 Bruno Haible threadlib: Provide an easy way to avoid mingw's winpthreads library. * m4/threadlib.m4 (gl_AVOID_WINPTHREAD): New

Re: buy into mingw winpthreads?

2019-05-18 Thread LRN
On 18.05.2019 16:07, Bruno Haible wrote: > Opinions? I don't use gnulib much, but as far as threads are concerned: Applications can use Windows threading APIs, if they need limited threading support and know exactly what they want, and if the developers know how to use Windows API correctly.

buy into mingw winpthreads?

2019-05-18 Thread Bruno Haible
Hi, What should be the default threading API used by the module 'threadlib' (and thus also 'lock', 'rwlock', 'cond', etc.) on mingw. There are two choices: --enable-threads=windows does not need non-Microsoft DLLs. --enable-threads=posix links against winpthreads.dll. (Whereas Ross