unified: remaining timeout cleanup
Rename remaining functions to fit with kernel naming convention for internal interfaces. Use struct k_thread instead of struct tcs. Change-Id: I28cd7f6f4d7ddaeb825c8d2999242d8d2dd93f31 Signed-off-by: Benjamin Walsh <benjamin.walsh@windriver.com>
This commit is contained in:
parent
601b354ffe
commit
055262c159
8 changed files with 51 additions and 57 deletions
|
@ -35,14 +35,14 @@ extern "C" {
|
|||
|
||||
#elif defined(CONFIG_NANO_TIMERS)
|
||||
#include <timeout_q.h>
|
||||
#define _timeout_tcs_init(tcs) do { } while ((0))
|
||||
#define _init_thread_timeout(tcs) do { } while ((0))
|
||||
#define _abort_thread_timeout(tcs) do { } while ((0))
|
||||
|
||||
#define _add_thread_timeout(thread, pq, ticks) do { } while (0)
|
||||
#else
|
||||
#define _timeout_tcs_init(tcs) do { } while ((0))
|
||||
#define _init_thread_timeout(tcs) do { } while ((0))
|
||||
#define _abort_thread_timeout(tcs) do { } while ((0))
|
||||
#define _timeout_get_next_expiry() (K_FOREVER)
|
||||
#define _get_next_timeout_expiry() (K_FOREVER)
|
||||
|
||||
#define _add_thread_timeout(thread, pq, ticks) do { } while (0)
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue