/*************************************************************************** * 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. * * AI Disclosure: This file was largely AI-generated by Codex (gpt 5.4). * The AI-generated portions may be considered public domain (CC0-1.0) * and not subject to the project's licence. The human contributor has * reviewed and verified that the code is correct. * * SPDX-License-Identifier: MIT and CC0-1.0 **************************************************************************/ #ifdef _MSC_VER #if defined(_M_IX86) #define TX_TEST_LINKER_ALIAS(symbol, default_symbol) __pragma(comment(linker, "/alternatename:_" #symbol "=_" #default_symbol)) #else #define TX_TEST_LINKER_ALIAS(symbol, default_symbol) __pragma(comment(linker, "/alternatename:" #symbol "=" #default_symbol)) #endif void tx_test_default_abort_all_threads_suspended_on_mutex(void) { } TX_TEST_LINKER_ALIAS(abort_all_threads_suspended_on_mutex, tx_test_default_abort_all_threads_suspended_on_mutex) void tx_test_default_suspend_lowest_priority(void) { } TX_TEST_LINKER_ALIAS(suspend_lowest_priority, tx_test_default_suspend_lowest_priority) void tx_test_default_abort_and_resume_byte_allocating_thread(void) { } TX_TEST_LINKER_ALIAS(abort_and_resume_byte_allocating_thread, tx_test_default_abort_and_resume_byte_allocating_thread) #else __attribute__((weak)) void abort_all_threads_suspended_on_mutex(void) { } __attribute__((weak)) void suspend_lowest_priority(void) { } __attribute__((weak)) void abort_and_resume_byte_allocating_thread(void) { } #endif