Re: [Mingw-w64-public] issues with application to run commands in parallel on Windows

2019-05-04 Thread Liu Hao
在 2019/5/4 上午6:16, David Mathog 写道: > > Issues: > > > 1.  Compiler warnings: > > c_spawn_n.c: In function 'main': > c_spawn_n.c:47:13: warning: passing argument 3 of 'CreateThread' from > incompatible pointer type [-Wincompatible-pointer-types] > RunCommand, // thread f

Re: [Mingw-w64-public] [PATCH 2/2] winpthreads/cond.c: Do not wait for `sema_b` unless `waiters_count_lock_` has been locked in wait functions.

2019-05-04 Thread Liu Hao
在 2019/4/26 下午4:11, Liu Hao 写道: > All other functions wait for `sema_b` with `waiters_count_lock_` locked. > The order of acquisition of these two things must happen in the same order > in all functions, otherwise deadlocks may happen. > > The obvious fix is to make wait functions wait for the sem

Re: [Mingw-w64-public] [PATCH v2 2/2] ntstrsafe.h: More fully implement.

2019-05-04 Thread Zebediah Figura
On 5/4/19 9:46 PM, Liu Hao wrote: 在 2019/5/2 12:44, Zebediah Figura 写道: Signed-off-by: Zebediah Figura --- mingw-w64-headers/ddk/include/ddk/ntstrsafe.h | 1633 + 1 file changed, 1633 insertions(+) create mode 100644 mingw-w64-headers/ddk/include/ddk/ntstrsafe.h As for t

Re: [Mingw-w64-public] [PATCH v2 2/2] ntstrsafe.h: More fully implement.

2019-05-04 Thread Liu Hao
在 2019/5/2 12:44, Zebediah Figura 写道: > Signed-off-by: Zebediah Figura > --- > mingw-w64-headers/ddk/include/ddk/ntstrsafe.h | 1633 + > 1 file changed, 1633 insertions(+) > create mode 100644 mingw-w64-headers/ddk/include/ddk/ntstrsafe.h As for this patch, it might be safe to