Fixed some typos, courtesy of codespell
Main change is the conversion from the British cancelling/-ed to the American canceling/-ed.
This commit is contained in:
@@ -84,7 +84,7 @@ struct private_thread_t {
|
||||
bool detached_or_joined;
|
||||
|
||||
/**
|
||||
* TRUE if the threads has terminated (cancelled, via thread_exit or
|
||||
* TRUE if the threads has terminated (canceled, via thread_exit or
|
||||
* returned from the main function)
|
||||
*/
|
||||
bool terminated;
|
||||
@@ -130,7 +130,7 @@ static thread_value_t *current_thread;
|
||||
#endif
|
||||
|
||||
/* the signal handler for SIG_CANCEL uses pthread_exit to terminate the
|
||||
* "cancelled" thread */
|
||||
* "canceled" thread */
|
||||
static void cancel_signal_handler(int sig)
|
||||
{
|
||||
pthread_exit(NULL);
|
||||
|
||||
Reference in New Issue
Block a user