winpthreads: Fix typos in comments Signed-off-by: LIU Hao <lh_mouse@126.com>
diff --git a/mingw-w64-libraries/winpthreads/src/cond.h b/mingw-w64-libraries/winpthreads/src/cond.h index 50b9831..fc19b0c 100644 --- a/mingw-w64-libraries/winpthreads/src/cond.h +++ b/mingw-w64-libraries/winpthreads/src/cond.h
@@ -46,7 +46,7 @@ unsigned int valid; int busy; LONG waiters_count_; /* Number of waiting threads. */ - LONG waiters_count_unblock_; /* Number of waiting threads whitch can be unblocked. */ + LONG waiters_count_unblock_; /* Number of waiting threads which can be unblocked. */ LONG waiters_count_gone_; /* Number of waiters which are gone. */ pthread_mutex_t waiters_count_lock_; /* Serialize access to <waiters_count_>. */ pthread_mutex_t waiters_q_lock_; /* Serialize access to sema_q. */
diff --git a/mingw-w64-libraries/winpthreads/src/misc.c b/mingw-w64-libraries/winpthreads/src/misc.c index 26f3aaf..95f4033 100644 --- a/mingw-w64-libraries/winpthreads/src/misc.c +++ b/mingw-w64-libraries/winpthreads/src/misc.c
@@ -32,12 +32,12 @@ #endif /** - * Function type corrsponding to `GetHandleInformation`. + * Function type corresponding to `GetHandleInformation`. */ typedef BOOL (WINAPI *FuncGetHandleInformation) (HANDLE, LPDWORD); /** - * Function type corrsponding to `SetThreadDescription`. + * Function type corresponding to `SetThreadDescription`. */ typedef HRESULT (WINAPI *FuncSetThreadDescription) (HANDLE, PCWSTR);
diff --git a/mingw-w64-libraries/winpthreads/src/misc.h b/mingw-w64-libraries/winpthreads/src/misc.h index 8c84fbe..8623ef2 100644 --- a/mingw-w64-libraries/winpthreads/src/misc.h +++ b/mingw-w64-libraries/winpthreads/src/misc.h
@@ -257,7 +257,7 @@ * * The best approach to handle this is to use Unicode versions through some * kind of wrapper; when Win9x support is enabled, make those wrappers choose - * whether to call Unicode or ANSI version at runtime, and make those wrapper + * whether to call Unicode or ANSI version at runtime, and make those wrappers * handle conversion from Unicode to appropriate code page. * * In some cases, however, we may call such functions in context where we
diff --git a/mingw-w64-libraries/winpthreads/src/time.c b/mingw-w64-libraries/winpthreads/src/time.c index ee991b3..9abef1a 100644 --- a/mingw-w64-libraries/winpthreads/src/time.c +++ b/mingw-w64-libraries/winpthreads/src/time.c
@@ -213,8 +213,8 @@ * Function type for internal implementation of `clock_gettime` and * `clock_getres` for a specific clock (`clockid_t`) type. * - * The first argument, if non-NULL, recieves the time. - * The second argument, if non-NULL, recieves the clock resolution. + * The first argument, if non-NULL, receives the time. + * The second argument, if non-NULL, receives the clock resolution. * * Returns zero on success and an error-code on failure. */