Note that in most cases threads other than the one calling `pthread_detach()`
can terminate at anytime. After a call `pthread_detach()`, if the thread
terminates, its resources are freed automatically, rendering the `pthread_t` no
longer valid. It is impossible to tell whether a `pthread_t` is d
Hi Glenn!
On Tue, May 31, 2016 at 11:11 AM, Burkhardt, Glenn BUTAS
wrote:
> The way the winpthreads code is writing, the Windows handle for the thread is
> cleared when the thread is made detached. That means that the
> pthread_setschedparam() call can't work. So thread priorities for
The way the winpthreads code is writing, the Windows handle for the thread is
cleared when the thread is made detached. That means that the
pthread_setschedparam() call can't work. So thread priorities for detached
threads can only be set once, at thread creation, before the thread is
detache
On 05/31/2016 05:42 PM, Hugo Beauzée-Luyssen wrote:
> This exposes the WaitOnAddress, WakeByAddressAll and WakeByAddressSingle
> functions
> Adding those to kernel32.lib fails at runtime
> ---
> mingw-w64-crt/Makefile.am| 20
> ++--
> mingw-w64-crt/li
This exposes the WaitOnAddress, WakeByAddressAll and WakeByAddressSingle
functions
Adding those to kernel32.lib fails at runtime
---
mingw-w64-crt/Makefile.am| 20 ++--
mingw-w64-crt/lib32/Makefile.am | 1 +
mingw-w64-crt/lib32/api-
This exposes the WaitOnAddress, WakeByAddressAll and WakeByAddressSingle
functions
Adding those to kernel32.lib fails at runtime
---
mingw-w64-crt/Makefile.am| 20 ++--
mingw-w64-crt/lib32/Makefile.am | 1 +
mingw-w64-crt/lib32/api-
On 05/31/2016 02:12 PM, Hugo Beauzée-Luyssen wrote:
> ---
> mingw-w64-crt/lib32/kernel32.def| 3 +++
> mingw-w64-crt/lib64/kernel32.def| 3 +++
> mingw-w64-crt/libarm32/kernel32.def | 3 +++
> 3 files changed, 9 insertions(+)
>
> diff --git a/mingw-w64-crt/lib32/kernel32.def
> b/mingw
---
mingw-w64-crt/lib32/kernel32.def| 3 +++
mingw-w64-crt/lib64/kernel32.def| 3 +++
mingw-w64-crt/libarm32/kernel32.def | 3 +++
3 files changed, 9 insertions(+)
diff --git a/mingw-w64-crt/lib32/kernel32.def b/mingw-w64-crt/lib32/kernel32.def
index 0435d8d..aa834c6 100644
--- a/mingw-w6