logo Training

Introduction to SYS BIOS (3) - Hardware interrupts and idle threads_1

Total of 1 lesson ,4 minutes and 32 seconds
Profile

The following are some characteristics of the software interrupt thread:
1. SYS/BIOS system kernel component
2. Generally triggered in the hardware interrupt thread (HWI)
3. 0-31 priority (default 0-15)
4. Unlimited number (memory allowance) Next)
5. It cannot be suspended and must run until the end unless it is preempted.
6. Share the system stack with the hardware interrupt thread.

The following are some characteristics of the task thread:
1. SYS/BIOS system kernel component
2. 0-31 priority (default 0-15, priority 0 is used by idle threads, the lowest priority of the task is 1)
3. Unlimited number (memory allowed)
4. Independent memory stack
5. More advanced scheduling technology
- can be used for waiting for a certain event is suspended
- the task will be interrupted by other higher priority threads
6. The number and status can be dynamically changed while the program is executing
7. The priority can be dynamically modified

The following are some characteristics of idle (background) threads:
1. SYS/BIOS system kernel component
2. Non-real-time thread
3. Will run if and only if no other thread (HWI / SWI / TASK) is running
4. All idle threads run at the same priority
5. Yes Quantity limit
6. Can be preempted by any other thread at any time
7. Default task stack, if the task thread is disabled, use the system stack
8. Run one after another, each idle thread function will be executed from start to end. After all functions are executed, execution starts from the first function, and the cycle starts again.
9. Do not use blocking statements on idle threads.

You Might Like

Recommended Posts

How can engineers make extra money besides paying for their house and car? How can they earn extra income besides their salary?
[font=宋体][size=10.5pt]1. Stock speculation and fund speculation[/size][/font] [font=宋体][size=10.5pt]Suitable for people with money. [/size][/font] [font=宋体][size=10.5pt]If you can't conquer the bull (
rdeasy Talking
What is love?
Love, a word that cannot be ignored. Falling in love means eternity. All emotions are transformed into one word without words - love. What is love that makes people unable to stop, knowing that they w
elynlg Talking
Hey! The first thing I do when I get to work is to browse the forum
Hey! The first thing I do when I get to work is to browse forums. I seem to have forum syndrome. I wonder if you feel the same way?
fuza FPGA/CPLD
Can wince6.0 + vs2005 develop USB drivers?
I am a novice, and now I want to make a USB driver, which is to be installed on a PDA running on WINCE6.0. I want to develop it on a PC, and the operating system is WINDOWS XP. Where should I start? F
liuhuansbsb Embedded System
Fujitsu FRAM Experience Submission - MB85RC64 Application - Boot Recorder
[i=s]This post was last edited by ltbytyn on 2014-1-3 21:40[/i] For the schematic diagram, see the article [Fujitsu FRAM Experience Submission - MB85RC64]. [url=https://en.eeworld.com/bbs/thread-42761
ltbytyn Integrated technical exchanges
USB_Blaster self-made
cy68013 version, the board was made a long time ago, but it has never been debugged. I debugged it during the holidays, and it went smoothly, and the basic functions are completely ok!
chenzhufly FPGA/CPLD
Recommended Content
Web users are watching Change
MoreHot Articles

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号