mirror of
https://github.com/eclipse-threadx/threadx.git
synced 2026-08-18 01:49:39 +08:00
Added copyright headers to files missing them
Applied the standard MIT license header to all project-owned C, header, assembly, shell, and Python files that were missing a copyright notice. Third-party, toolchain startup, and auto-generated files were excluded. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
co-authored by
Copilot
parent
de1c6e9bbe
commit
730b61874b
@@ -1,4 +1,15 @@
|
||||
#!/bin/bash
|
||||
##############################################################################
|
||||
# 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
|
||||
##############################################################################
|
||||
|
||||
|
||||
set -e
|
||||
|
||||
|
||||
@@ -1,4 +1,15 @@
|
||||
#!/bin/bash
|
||||
##############################################################################
|
||||
# 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
|
||||
##############################################################################
|
||||
|
||||
|
||||
dst=$(dirname $0)/../../regression/tx_initialize_low_level.c
|
||||
src=$(dirname $0)/../../../../ports/linux/gnu/src/tx_initialize_low_level.c
|
||||
|
||||
@@ -1,4 +1,15 @@
|
||||
#!/bin/bash
|
||||
##############################################################################
|
||||
# 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
|
||||
##############################################################################
|
||||
|
||||
|
||||
set -e
|
||||
|
||||
|
||||
@@ -1,3 +1,14 @@
|
||||
/***************************************************************************/
|
||||
/* 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;
|
||||
|
||||
@@ -1,3 +1,14 @@
|
||||
/***************************************************************************/
|
||||
/* 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 */
|
||||
/***************************************************************************/
|
||||
|
||||
/* This is the test control routine of the ThreadX kernel. All tests are dispatched from this routine. */
|
||||
// Some portions generated by Codex (gpt 5.4).
|
||||
|
||||
|
||||
@@ -1,3 +1,14 @@
|
||||
/***************************************************************************/
|
||||
/* 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 */
|
||||
/***************************************************************************/
|
||||
|
||||
/* This test is designed to test simple memory block pool creation, deletion, and
|
||||
allocates and releases. */
|
||||
|
||||
|
||||
@@ -1,3 +1,14 @@
|
||||
/***************************************************************************/
|
||||
/* 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 */
|
||||
/***************************************************************************/
|
||||
|
||||
/* This test is designed to test error detection for simple memory block operations. */
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
@@ -1,3 +1,14 @@
|
||||
/***************************************************************************/
|
||||
/* 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 */
|
||||
/***************************************************************************/
|
||||
|
||||
/* This test is designed to test block memory information services. */
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
@@ -1,3 +1,14 @@
|
||||
/***************************************************************************/
|
||||
/* 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 */
|
||||
/***************************************************************************/
|
||||
|
||||
/* This test is designed to test block memory pool prioritize. */
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
@@ -1,3 +1,14 @@
|
||||
/***************************************************************************/
|
||||
/* 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 */
|
||||
/***************************************************************************/
|
||||
|
||||
/* This test is designed to test suspension on memory block pools. */
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
@@ -1,3 +1,14 @@
|
||||
/***************************************************************************/
|
||||
/* 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 */
|
||||
/***************************************************************************/
|
||||
|
||||
/* This test is designed to test timeouts on suspension on memory block pools. */
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
@@ -1,3 +1,14 @@
|
||||
/***************************************************************************/
|
||||
/* 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 */
|
||||
/***************************************************************************/
|
||||
|
||||
/* This test is designed to test thread termination on a thread suspended on a block
|
||||
memory pool. */
|
||||
|
||||
|
||||
@@ -1,3 +1,14 @@
|
||||
/***************************************************************************/
|
||||
/* 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 */
|
||||
/***************************************************************************/
|
||||
|
||||
/* This test is designed to test simple memory byte pool creation, deletion, and
|
||||
allocates and releases. */
|
||||
|
||||
|
||||
@@ -1,3 +1,14 @@
|
||||
/***************************************************************************/
|
||||
/* 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 */
|
||||
/***************************************************************************/
|
||||
|
||||
/* This test is designed to test byte memory information. */
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
@@ -1,3 +1,14 @@
|
||||
/***************************************************************************/
|
||||
/* 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 */
|
||||
/***************************************************************************/
|
||||
|
||||
/* This test is designed to test byte memory prioritize. */
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
@@ -1,3 +1,14 @@
|
||||
/***************************************************************************/
|
||||
/* 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 */
|
||||
/***************************************************************************/
|
||||
|
||||
/* This test is designed to test suspension on a memory byte pool. */
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
@@ -1,3 +1,14 @@
|
||||
/***************************************************************************/
|
||||
/* 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 */
|
||||
/***************************************************************************/
|
||||
|
||||
/* This test is designed to test suspension timeout on a memory byte pool. */
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
@@ -1,3 +1,14 @@
|
||||
/***************************************************************************/
|
||||
/* 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 */
|
||||
/***************************************************************************/
|
||||
|
||||
/* This test is designed to test contention of two threads on a single
|
||||
memory byte pool. */
|
||||
|
||||
|
||||
@@ -1,3 +1,14 @@
|
||||
/***************************************************************************/
|
||||
/* 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 */
|
||||
/***************************************************************************/
|
||||
|
||||
/* This test is designed to test termination on thread suspended on memory byte pool. */
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
@@ -1,3 +1,14 @@
|
||||
/***************************************************************************/
|
||||
/* 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 */
|
||||
/***************************************************************************/
|
||||
|
||||
/* This test is designed to test simple event flag group creation, deletion, gets and
|
||||
sets. */
|
||||
|
||||
|
||||
@@ -1,3 +1,14 @@
|
||||
/***************************************************************************/
|
||||
/* 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 */
|
||||
/***************************************************************************/
|
||||
|
||||
/* This test is designed to test the event flag group information gathering services. */
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
@@ -1,3 +1,14 @@
|
||||
/***************************************************************************/
|
||||
/* 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 */
|
||||
/***************************************************************************/
|
||||
|
||||
/* This test is designed to test for simultaneous thread event flag set AND ISR event flag set and clear. */
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
@@ -1,3 +1,14 @@
|
||||
/***************************************************************************/
|
||||
/* 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 */
|
||||
/***************************************************************************/
|
||||
|
||||
/* This test is designed to test for wait abort from an ISR. */
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
@@ -1,3 +1,14 @@
|
||||
/***************************************************************************/
|
||||
/* 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 */
|
||||
/***************************************************************************/
|
||||
|
||||
/* This test is designed to test event flag suspension with a single suspended thread
|
||||
being terminated at the same priority level. */
|
||||
|
||||
|
||||
@@ -1,3 +1,14 @@
|
||||
/***************************************************************************/
|
||||
/* 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 */
|
||||
/***************************************************************************/
|
||||
|
||||
/* This test is designed to test event flag suspension and resumption of two threads
|
||||
waiting on the same event flag set with the consumption. */
|
||||
|
||||
|
||||
@@ -1,3 +1,14 @@
|
||||
/***************************************************************************/
|
||||
/* 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 */
|
||||
/***************************************************************************/
|
||||
|
||||
/* This test is designed to test event flag suspension and resumption of two threads
|
||||
waiting on different event flags with consumption. */
|
||||
|
||||
|
||||
@@ -1,3 +1,14 @@
|
||||
/***************************************************************************/
|
||||
/* 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 */
|
||||
/***************************************************************************/
|
||||
|
||||
/* This test is designed to test event flag suspension and resumption of two threads
|
||||
waiting on different event flags. */
|
||||
|
||||
|
||||
@@ -1,3 +1,14 @@
|
||||
/***************************************************************************/
|
||||
/* 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 */
|
||||
/***************************************************************************/
|
||||
|
||||
/* This test is designed to test event flag suspension and resumption of three threads
|
||||
waiting on the same event flag set. */
|
||||
|
||||
|
||||
@@ -1,3 +1,14 @@
|
||||
/***************************************************************************/
|
||||
/* 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 */
|
||||
/***************************************************************************/
|
||||
|
||||
/* This test is designed to test event flag suspension timeout processing. */
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
@@ -1,3 +1,14 @@
|
||||
/***************************************************************************/
|
||||
/* 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 */
|
||||
/***************************************************************************/
|
||||
|
||||
/* This test is designed to test event flag suspension with the suspended threads
|
||||
being terminated. */
|
||||
|
||||
|
||||
@@ -1,3 +1,14 @@
|
||||
/***************************************************************************/
|
||||
/* 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 */
|
||||
/***************************************************************************/
|
||||
|
||||
/* This test is designed to test kernel setup functionality in ThreadX. */
|
||||
// Some portions generated by Codex (gpt 5.4).
|
||||
|
||||
|
||||
@@ -1,3 +1,14 @@
|
||||
/***************************************************************************/
|
||||
/* 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 */
|
||||
/***************************************************************************/
|
||||
|
||||
/* This test is designed to test the interrupt control service call avaialbe to the
|
||||
application. */
|
||||
|
||||
|
||||
@@ -1,3 +1,14 @@
|
||||
/***************************************************************************/
|
||||
/* 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 */
|
||||
/***************************************************************************/
|
||||
|
||||
/* This test is designed to test the mutex create/delete and immediate
|
||||
return gets and puts. */
|
||||
|
||||
|
||||
@@ -1,3 +1,14 @@
|
||||
/***************************************************************************/
|
||||
/* 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 */
|
||||
/***************************************************************************/
|
||||
|
||||
/* This test is designed to test the mutex suspension and mutex delete with
|
||||
suspended threads. */
|
||||
|
||||
|
||||
@@ -1,3 +1,14 @@
|
||||
/***************************************************************************/
|
||||
/* 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 */
|
||||
/***************************************************************************/
|
||||
|
||||
/* This test is designed to test the mutex information services. */
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
@@ -1,3 +1,14 @@
|
||||
/***************************************************************************/
|
||||
/* 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 */
|
||||
/***************************************************************************/
|
||||
|
||||
/* This test is designed to test multiple mutex priority inheritance situations. */
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
@@ -1,3 +1,14 @@
|
||||
/***************************************************************************/
|
||||
/* 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 */
|
||||
/***************************************************************************/
|
||||
|
||||
/* This test is designed to test the mutex suspension and another thread resuming the
|
||||
same priority thread by doing a mutex put. */
|
||||
|
||||
|
||||
@@ -1,3 +1,14 @@
|
||||
/***************************************************************************/
|
||||
/* 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 */
|
||||
/***************************************************************************/
|
||||
|
||||
/* This test is designed to test the mutex suspension and another thread resuming the
|
||||
higher priority thread by doing a mutex put. Higher-priority thread should preempt. */
|
||||
|
||||
|
||||
@@ -1,3 +1,14 @@
|
||||
/***************************************************************************/
|
||||
/* 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 */
|
||||
/***************************************************************************/
|
||||
|
||||
/* This test is designed to test the mutex suspension and priority inheritance with another
|
||||
thread resuming the higher priority thread by doing a mutex put. Higher-priority thread should preempt. */
|
||||
|
||||
|
||||
@@ -1,3 +1,14 @@
|
||||
/***************************************************************************/
|
||||
/* 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 */
|
||||
/***************************************************************************/
|
||||
|
||||
/* This test is designed to test the mutex suspension prioritization. */
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
@@ -1,3 +1,14 @@
|
||||
/***************************************************************************/
|
||||
/* 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 */
|
||||
/***************************************************************************/
|
||||
|
||||
/* This test is designed to test the mutex suspension and timeout functionality. */
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
@@ -1,3 +1,14 @@
|
||||
/***************************************************************************/
|
||||
/* 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 */
|
||||
/***************************************************************************/
|
||||
|
||||
/* This test is designed to test thread terminate calls when threads are suspended on
|
||||
a mutex. */
|
||||
|
||||
|
||||
@@ -1,3 +1,14 @@
|
||||
/***************************************************************************/
|
||||
/* 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 */
|
||||
/***************************************************************************/
|
||||
|
||||
/* This test is designed to test immediate response queue services including create
|
||||
and delete. This test is for queue sizes of 8 ULONG. Two queues are used one with
|
||||
a capacity of 1 message and another with a capacity of 3 messages. */
|
||||
|
||||
@@ -1,3 +1,14 @@
|
||||
/***************************************************************************/
|
||||
/* 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 */
|
||||
/***************************************************************************/
|
||||
|
||||
/* This test is designed to test immediate response queue services including create
|
||||
and delete. This test is for queue sizes of 4 ULONG. Two queues are used one with
|
||||
a capacity of 1 message and another with a capacity of 3 messages. */
|
||||
|
||||
@@ -1,3 +1,14 @@
|
||||
/***************************************************************************/
|
||||
/* 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 */
|
||||
/***************************************************************************/
|
||||
|
||||
/* This test is designed to test immediate response queue services including create
|
||||
and delete. This test is for queue sizes of 16 ULONG. Two queues are used one with
|
||||
a capacity of 1 message and another with a capacity of 3 messages. */
|
||||
|
||||
@@ -1,3 +1,14 @@
|
||||
/***************************************************************************/
|
||||
/* 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 */
|
||||
/***************************************************************************/
|
||||
|
||||
/* This test is designed to test immediate response queue services including create
|
||||
and delete. This test is for queue sizes of 1 ULONG. Two queues are used one with
|
||||
a capacity of 1 message and another with a capacity of 3 messages. */
|
||||
|
||||
@@ -1,3 +1,14 @@
|
||||
/***************************************************************************/
|
||||
/* 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 */
|
||||
/***************************************************************************/
|
||||
|
||||
/* This test is designed to test immediate response queue services including create
|
||||
and delete. This test is for queue sizes of 16 ULONG. Two queues are used one with
|
||||
a capacity of 1 message and another with a capacity of 3 messages. */
|
||||
|
||||
@@ -1,3 +1,14 @@
|
||||
/***************************************************************************/
|
||||
/* 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 */
|
||||
/***************************************************************************/
|
||||
|
||||
/* This test is designed to test immediate response queue services including create
|
||||
and delete. This test is for queue sizes of 2 ULONG. Two queues are used one with
|
||||
a capacity of 1 message and another with a capacity of 3 messages. */
|
||||
|
||||
@@ -1,3 +1,14 @@
|
||||
/***************************************************************************/
|
||||
/* 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 */
|
||||
/***************************************************************************/
|
||||
|
||||
/* This test is designed to test empty queue suspension of queue that supports 3 messages
|
||||
that are each 2 ULONG in size. */
|
||||
|
||||
|
||||
@@ -1,3 +1,14 @@
|
||||
/***************************************************************************/
|
||||
/* 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 */
|
||||
/***************************************************************************/
|
||||
|
||||
/* This test is designed to test the queue flush operation on a queue that has no threads
|
||||
suspended on it. */
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user