Zephyr Project API 3.7.0
A Scalable Open Source RTOS
|
#include <zephyr/tc_util.h>
#include <zephyr/ztest.h>
#include <zephyr/kernel.h>
#include <zephyr/irq_offload.h>
Data Structures | |
struct | isr_args |
Macros | |
#define | NUM_THREADS CONFIG_MP_MAX_NUM_CPUS |
#define | STACK_SIZE 1024 |
Functions | |
K_THREAD_STACK_ARRAY_DEFINE (thread_stack, CONFIG_MP_MAX_NUM_CPUS, 1024) | |
static void | isr (const void *args) |
static void | thread_entry (void *p1, void *p2, void *p3) |
ZTEST (smp_abort, test_smp_thread_abort_deadlock) | |
ZTEST_SUITE (smp_abort, NULL, NULL, NULL, NULL, NULL) | |
Variables | |
struct k_thread | thread [CONFIG_MP_MAX_NUM_CPUS] |
volatile bool | sync [CONFIG_MP_MAX_NUM_CPUS] |
struct isr_args | isr_args [CONFIG_MP_MAX_NUM_CPUS] |
#define NUM_THREADS CONFIG_MP_MAX_NUM_CPUS |
#define STACK_SIZE 1024 |
|
static |
K_THREAD_STACK_ARRAY_DEFINE | ( | thread_stack | , |
CONFIG_MP_MAX_NUM_CPUS | , | ||
1024 | |||
) |
|
static |
ZTEST | ( | smp_abort | , |
test_smp_thread_abort_deadlock | |||
) |
ZTEST_SUITE | ( | smp_abort | , |
NULL | , | ||
NULL | , | ||
NULL | , | ||
NULL | , | ||
NULL | |||
) |
volatile bool sync[CONFIG_MP_MAX_NUM_CPUS] |
struct k_thread thread[CONFIG_MP_MAX_NUM_CPUS] |