Zephyr API Documentation  2.7.0-rc2
A Scalable Open Source RTOS
object_tracing.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2016 Intel Corporation
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7#ifndef ZEPHYR_INCLUDE_THREAD_MONITOR_H_
8#define ZEPHYR_INCLUDE_THREAD_MONITOR_H_
9
10#include <kernel.h>
11#include <kernel_structs.h>
12
21#define SYS_THREAD_MONITOR_HEAD ((struct k_thread *)(_kernel.threads))
22
33#define SYS_THREAD_MONITOR_NEXT(obj) (((struct k_thread *)obj)->next_thread)
34
35#endif /* ZEPHYR_INCLUDE_THREAD_MONITOR_H_ */