summaryrefslogtreecommitdiff
path: root/test/tx/cmake/samples/fake.c
blob: 138117b5bde6b3cc8ce6ea7a060933dd39614d4d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/***************************************************************************/
/* Copyright (c) 2024 Microsoft Corporation                                */
/* Copyright (c) 2026 Eclipse ThreadX contributors                         */
/*                                                                         */
/* This program and the accompanying materials are made available under    */
/* the terms of the MIT License which is available at                      */
/* https://opensource.org/licenses/MIT.                                    */
/*                                                                         */
/* SPDX-License-Identifier: MIT                                            */
/***************************************************************************/

#include "tx_api.h"

typedef unsigned int    TEST_FLAG;
TEST_FLAG        threadx_byte_allocate_loop_test;
TEST_FLAG        threadx_byte_release_loop_test;
TEST_FLAG        threadx_mutex_suspension_put_test;
TEST_FLAG        threadx_mutex_suspension_priority_test;
#ifndef TX_TIMER_PROCESS_IN_ISR
TEST_FLAG        threadx_delete_timer_thread;
#endif

void             abort_and_resume_byte_allocating_thread(void){}
void             abort_all_threads_suspended_on_mutex(void){}
void             suspend_lowest_priority(void){}
#ifndef TX_TIMER_PROCESS_IN_ISR
void             delete_timer_thread(void){}
#endif
TEST_FLAG        test_stack_analyze_flag;
TEST_FLAG        test_initialize_flag;
TEST_FLAG        test_forced_mutex_timeout;