Zephyr API Documentation  3.6.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
object_tracing.h File Reference

Go to the source code of this file.

Macros

#define SYS_THREAD_MONITOR_HEAD   ((struct k_thread *)(_kernel.threads))
 Head element of the thread monitor list.
 
#define SYS_THREAD_MONITOR_NEXT(obj)   (((struct k_thread *)obj)->next_thread)
 Gets a thread node's next element.
 

Macro Definition Documentation

◆ SYS_THREAD_MONITOR_HEAD

#define SYS_THREAD_MONITOR_HEAD   ((struct k_thread *)(_kernel.threads))

Head element of the thread monitor list.

Access the head element of the thread monitor list.

◆ SYS_THREAD_MONITOR_NEXT

#define SYS_THREAD_MONITOR_NEXT (   obj)    (((struct k_thread *)obj)->next_thread)

Gets a thread node's next element.

Given a node in a thread monitor list, gets the next element in the list.

Parameters
objObject to get the next element from.