Lines Matching refs:a

3a big task in our daily life, we usually break it down into a number of simple, easy-to-manage sma…
7a task execution. It also describes the priority level of the task - an important task can be set
9 When a thread runs, it thinks it is has sole access to the CPU as it is running. The runtime enviro…
11a deeper understanding of the thread management mechanism of RT-Thread. They will have clear answe…
15a thread is deleted, it will also be deleted from the object container. As shown in the following …
21 When a running thread makes the running condition ready for another thread with a higher priority, …
23 If it is the interrupt service routine that makes the running condition ready for the thread with a
31a data structure used by the operating system to manage threads. It stores information about the t…
79 RT-Thread's threads have a dependent stack. When the thread is switched, the context of the current…
89 …ack, a larger thread stack can be designed for an MCU with a relatively large resource pool; or a
93a processor at any time. Apart from the running process, threads have various different operating …
95 The five states of a thread in RT-Thread are shown in the following table:
101 …d is currently running. In a single-core system, only the thread returned from the rt_thread_self(…
107 … important the thread, the higher priority it should be given, resulting in a higher chance of bei…
109a maximum of 256 thread priorities (0~255). The lower the number, the higher the priority, with 0 …
113a time slice parameter, but time slice is only valid for ready-state threads of the same priority.…
137a real-time system, with clear priorities, if a program in a thread is stuck in an infinite loop, …
141 … these threads will not cycle or permanently loop. They can be described as a "one-off" threads an…
156 …osely related to the execution environment, so each thread is equipped with a variable to store th…
174 RT-Thread provides a set of operating system call interfaces that make the state of a thread to swi…
178a running thread calls a function such as `rt_thread_delay()`, `rt_sem_take()`, `rt_mutex_take()`,…
180 If a thread in suspended state calls the functions `rt_thread_delete()` or `rt_thread_detach()`, it…
182 >In RT-Thread, a thread does not actually have a running state; the ready state and the running sta…
192a thread finishes running, the system will automatically delete the thread by executing the functi…
194 The idle thread also provides an interface to run a hook function set by the user. The hook functio…
206a dynamic thread and `rt_thread_init()` to initialize a static thread. The difference between a dy…
212 To become an executable object, a thread must be created by the kernel of the operating system. You…
223 When this function is called, the system will allocate a thread handle from the dynamic heap memory…
232 …ority in the system, this parameter specifies the maximum length of time of a thread for one sched…
258 The initialization of a thread can be done using the following function interface, to initialize a
279 …ority in the system, this parameter specifies the maximum length of time of a thread for one sched…
309 …orresponding priority queue for scheduling. If the newly started thread has a higher priority than…
343 …lected in the system and executed. If there is no thread in the system with a higher priority than…
347 …, we sometimes need to delay the current thread running for a period of time and re-run at a speci…
354 …ead to suspend for a specified period of time. After, the thread will wake up and enter the ready …
364a thread calls `rt_thread_delay()`, the thread will voluntarily suspend; when a function such as `…
385 To resume a thread is to let the suspended thread re-enter the ready state and put the thread into …
402 When you need other control over a thread, such as dynamically changing the priority of a thread, y…
421 •RT_THREAD_CTRL_CHANGE_PRIORITY:dynamically change the priority of a thread;
423 •RT_THREAD_CTRL_STARTUP:Start running a thread, equivalent to the `rt_thread_startup()` function ca…
425 •RT_THREAD_CTRL_CLOSE:Close a thread, equivalent to the `rt_thread_delete()` function call.
429 The idle hook function is a hook function of the idle thread. If the idle hook function is set, the…
454 >An idle thread is a thread whose state is always ready. Therefore, hook function must ensure that …
458 … want to know what kind of thread switch has occurred at times, you can set a corresponding hook f…
468 | hook | Represents a user-defined hook function pointer |
491 This sample is creating a dynamic thread and initializing a static thread. A thread is automaticall…
523 /* Thread 2 has a higher priority to preempt thread 1 and get executed */
589 When thread 2 counts to a certain value, it will stop running. Then thread 2 is automatically delet…
591 …ther threads or call this interface in the timer timeout function to delete a thread which is not …
687 When thread is scheduling switch, it executes the schedule. We can set a scheduler hook so that we …
708 rt_thread_mdelay(1000); // Delay for a while