kernel: use 'thread' for thread variable consistently

We have been using thread, th and t for thread variables making the code
less readable, especially when we use t for timeouts and other time
related variables. Just use thread where possible and keep things
consistent.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2019-12-19 08:19:45 -05:00
commit 9e3e7f6dda
6 changed files with 107 additions and 101 deletions

View file

@ -146,7 +146,7 @@ static inline bool size_mul_overflow(size_t a, size_t b, size_t *result)
* return NULL;
* }
*
* struct k_thread *t = NULL;
* struct k_thread *thread = NULL;
* sys_dlist_t *l =
* &pq->queues[u32_count_trailing_zeros(pq->bitmask)];
*