CLEANUP: Fix typos in the task subsystem

Fix typos in the code comments of the task subsystem.
This commit is contained in:
Joseph Herlant 2018-11-15 14:19:23 -08:00 committed by Willy Tarreau
parent 5662fa4707
commit cf92b6d332
1 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@ struct pool_head *pool_head_task;
struct pool_head *pool_head_tasklet;
/* This is the memory pool containing all the signal structs. These
* struct are used to store each requiered signal between two tasks.
* struct are used to store each required signal between two tasks.
*/
struct pool_head *pool_head_notification;
@ -429,7 +429,7 @@ void process_runnable_tasks()
}
curr_task = NULL;
/* If there is a pending state we have to wake up the task
* immediatly, else we defer it into wait queue
* immediately, else we defer it into wait queue
*/
if (t != NULL) {
state = HA_ATOMIC_AND(&t->state, ~TASK_RUNNING);