Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions common/src/tx_thread_sleep.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
* SPDX-License-Identifier: MIT
**************************************************************************/

// Some portions generated by Copilot (Opus 5).

/**************************************************************************/
/**************************************************************************/
Expand Down Expand Up @@ -155,6 +156,9 @@ TX_THREAD *thread_ptr;

#ifdef TX_NOT_INTERRUPTABLE

/* Initialize the status to successful. */
thread_ptr -> tx_thread_suspend_status = TX_SUCCESS;

/* Call actual non-interruptable thread suspension routine. */
_tx_thread_system_ni_suspend(thread_ptr, timer_ticks);

Expand Down
4 changes: 4 additions & 0 deletions common_smp/src/tx_thread_sleep.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
* SPDX-License-Identifier: MIT
**************************************************************************/

// Some portions generated by Copilot (Opus 5).

/**************************************************************************/
/**************************************************************************/
Expand Down Expand Up @@ -155,6 +156,9 @@ TX_THREAD *thread_ptr;

#ifdef TX_NOT_INTERRUPTABLE

/* Initialize the status to successful. */
thread_ptr -> tx_thread_suspend_status = TX_SUCCESS;

/* Call actual non-interruptable thread suspension routine. */
_tx_thread_system_ni_suspend(thread_ptr, timer_ticks);

Expand Down
Loading