winpthreads: tests: fix typos in pthread_mutex/* tests Signed-off-by: Kirill Makurin <maiddaisuki@outlook.com> Signed-off-by: LIU Hao <lh_mouse@126.com>
diff --git a/mingw-w64-libraries/winpthreads/tests/pthread_mutex/mutex4.c b/mingw-w64-libraries/winpthreads/tests/pthread_mutex/mutex4.c index ffb3e4c..74cec84 100644 --- a/mingw-w64-libraries/winpthreads/tests/pthread_mutex/mutex4.c +++ b/mingw-w64-libraries/winpthreads/tests/pthread_mutex/mutex4.c
@@ -82,7 +82,7 @@ * POSIX states that calling `pthread_mutex_unlock` on NORMAL mutex that is * not owned by the calling thread is undefined behavior. * - * Out implementation for NORMAL mutexes does not check ownership at all, + * Our implementation for NORMAL mutexes does not check ownership at all, * so call to `pthread_mutex_unlock` on a valid NORMAL mutex always succeeds. */ assert(pthread_mutex_unlock(&mutex1) == 0); @@ -102,7 +102,7 @@ * POSIX states that calling `pthread_mutex_unlock` on NORMAL mutex that is * not owned by the calling thread is undefined behavior. * - * Out implementation for NORMAL mutexes does not check ownership at all, + * Our implementation for NORMAL mutexes does not check ownership at all, * so call to `pthread_mutex_unlock` on a valid NORMAL mutex always succeeds. */ assert(pthread_mutex_unlock(&mutex1) == 0);
diff --git a/mingw-w64-libraries/winpthreads/tests/pthread_mutex/mutex7.c b/mingw-w64-libraries/winpthreads/tests/pthread_mutex/mutex7.c index 70ac116..1b4f444 100644 --- a/mingw-w64-libraries/winpthreads/tests/pthread_mutex/mutex7.c +++ b/mingw-w64-libraries/winpthreads/tests/pthread_mutex/mutex7.c
@@ -61,7 +61,7 @@ * POSIX states that calling `pthread_mutex_unlock` on NORMAL mutex that is * not owned by the calling thread is undefined behavior. * - * Out implementation for NORMAL mutexes does not check ownership at all, + * Our implementation for NORMAL mutexes does not check ownership at all, * so call to `pthread_mutex_unlock` on a valid NORMAL mutex always succeeds. */ assert(pthread_mutex_unlock(&mutex) == 0);
diff --git a/mingw-w64-libraries/winpthreads/tests/pthread_mutex/mutex7n.c b/mingw-w64-libraries/winpthreads/tests/pthread_mutex/mutex7n.c index 10b8399..d581a13 100644 --- a/mingw-w64-libraries/winpthreads/tests/pthread_mutex/mutex7n.c +++ b/mingw-w64-libraries/winpthreads/tests/pthread_mutex/mutex7n.c
@@ -65,7 +65,7 @@ * POSIX states that calling `pthread_mutex_unlock` on NORMAL mutex that is * not owned by the calling thread is undefined behavior. * - * Out implementation for NORMAL mutexes does not check ownership at all, + * Our implementation for NORMAL mutexes does not check ownership at all, * so call to `pthread_mutex_unlock` on a valid NORMAL mutex always succeeds. */ assert(pthread_mutex_unlock(&mutex) == 0);