Threads
SPDX-License-Identifier: Apache-2.0
The Zephyr RTOS shall provide an interface to create (start) a thread.
The Zephyr RTOS shall provide an interface to set a thread's priority.
The Zephyr RTOS shall provide an interface to suspend a thread.
The Zephyr RTOS shall provide an interface to resume a suspended thread.
The Zephyr RTOS shall provide an interface to resume a suspended thread after a timeout.
The Zephyr RTOS shall provide an interface to delete (end) a thread.
Threads shall have different states to fulfill the Life-cycle of a thread
As a Zephyr RTOS user, I want to know in what state a specific thread is.
Every Thread shall have it's own stack.
As a Zephyr RTOS user I want to be able to configure the stack size of a thread. And every thread shall have it's own dedicated stack.
The Zephyr RTOS shall provide an interface to create threads with defined privilege.
The Zephyr RTOS shall provide an interface to schedule multiple threads.
The Zephyr RTOS shall support a set of thread options.
As a Zephyr RTOS user, I want to be able to pass specific option to a thread.
Every thread shall have a custom data area.
As a Zephyr RTOS user, I want to be able to set a thread specific custom area for every thread I create and which can be used only by the thread itself or the can be used by the application