On Mon, 29 Jan 2024, Antonin Décimo wrote:
Signed-off-by: Antonin Décimo <anto...@tarides.com>
---
.../winpthreads/tests/t_clock_gettime.c | 2 +-
.../winpthreads/tests/t_clock_nanosleep.c | 2 +-
.../winpthreads/tests/t_clock_settime.c | 2 +-
.../winpthreads/tests/t_nanosleep.c | 2 +-
mingw-w64-libraries/winpthreads/tests/test.c | 16 ++++++++--------
5 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/mingw-w64-libraries/winpthreads/tests/test.c
b/mingw-w64-libraries/winpthreads/tests/test.c
index dc1a0c6c0..f077cb6d3 100644
--- a/mingw-w64-libraries/winpthreads/tests/test.c
+++ b/mingw-w64-libraries/winpthreads/tests/test.c
@@ -691,20 +691,20 @@ static void *condTimed_threadfunc(void *parm)
pthread_exit(NULL);
}
checkResults("pthread_cond_timedwait()\n", rc);
- } while (!workLeave && !workToDo);
+ } while (!workLeave && !workToDo);
if (workToDo) {
printf("Thread %d consumes work here\n", tid);
Sleep(2000);
workToDo = 0;
}
- }
+ }
printf("Thread %d leaves here\n", tid);
rc = pthread_mutex_unlock(&mutex);
checkResults("pthread_mutex_unlock() B\n", rc);
This particular change here looks unrelated to the rest, removing trailing
whitespace. Please split out such changes to a separate commit.
// Martin
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public