logo Training

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

Total of 1 lesson ,7 minutes and 51 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 during program execution
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

[15th Anniversary] EE DIY--Wireless Multi-channel Serial Port
[i=s]This post was last edited by RCSN on 2021-6-26 16:28[/i]1. Design Intention Last year, when I was on a business trip, I needed a lot of serial communication or debugging on site. I also brought a
RCSN DIY/Open Source Hardware
[Blog Help Post] How to retrieve your password
[color=blue][font=宋体][size=10.5pt]1) If you lose your password, you can click "Retrieve Password" to enter the blog's password retrieval system. [/size][/font][/color] [color=blue] [/color] [color=blu
小娜 Suggestions & Announcements
Jlink connected to 2440 and said that the device could not be found
The JLINK V8 emulator I bought online is connected to the mini2440. I downloaded the driver from the SEGGER website, installed it, and opened JLINK.exe. The following picture is displayed. Is it becau
酒壶 Embedded System
15F104E Application 2: Collection, collection of debts, collection of debts at fixed time and fixed frequency
15F104E Application 2: Collection, collection of debts, collection of debts at fixed time and fixed frequency
用心思考 51mcu
TI mmWave sensor conference discussion thread, TI experts are here to answer questions online~
[font=微软雅黑][size=3]The wonderful TI millimeter wave sensor conference has ended. I guess many netizens are still not satisfied. :pleased: So I specially opened this backyard to summarize the relevant
EEWORLD社区 TI Technology Forum
Recommended Content
Web users are watching Change

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号