mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2024-12-11 22:15:14 +00:00
CLEANUP: Fix typos in the task subsystem
Fix typos in the code comments of the task subsystem.
This commit is contained in:
parent
5662fa4707
commit
cf92b6d332
@ -29,7 +29,7 @@ struct pool_head *pool_head_task;
|
|||||||
struct pool_head *pool_head_tasklet;
|
struct pool_head *pool_head_tasklet;
|
||||||
|
|
||||||
/* This is the memory pool containing all the signal structs. These
|
/* 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;
|
struct pool_head *pool_head_notification;
|
||||||
|
|
||||||
@ -429,7 +429,7 @@ void process_runnable_tasks()
|
|||||||
}
|
}
|
||||||
curr_task = NULL;
|
curr_task = NULL;
|
||||||
/* If there is a pending state we have to wake up the task
|
/* 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) {
|
if (t != NULL) {
|
||||||
state = HA_ATOMIC_AND(&t->state, ~TASK_RUNNING);
|
state = HA_ATOMIC_AND(&t->state, ~TASK_RUNNING);
|
||||||
|
Loading…
Reference in New Issue
Block a user