ycliper

Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
Скачать

Introduction to RTOS Part 3 - Task Scheduling | Digi-Key Electronics

Автор: DigiKey

Загружено: 2021-01-18

Просмотров: 304545

Описание: The RTOS scheduler decides which task to run on a recurring basis, and some tasks can interrupt and run before other tasks in a process known as “preemption.”

The solution to the challenge in the video can be found here: https://www.digikey.com/en/maker/proj...

CORRECTION at 2:37: A higher priority task in FreeRTOS will immediately preempt other tasks and run if it is made ready. It does not wait for the next tick to run. Thanks to @G-aurav B-hattarai for pointing this out!

In this video, we examine how the FreeRTOS scheduler makes a decision at every tick (recurring timer interval) to determine which task to run for the remainder of the tick. With a single-core processor, this time-slicing allows tasks to run in a fashion that appears to be concurrent to the user.

Tasks with higher priority are chosen to run before tasks with lower priority. However, not all tasks need to be run. Only tasks in the “ready” or are already in the “running” state can be chosen to run next. A task may put itself or another task in a “blocked” state by using one of the appropriate blocking functions, like vTaskDelay(). Tasks that are waiting for an external event, such as a free semaphore or a serial transmission, may also enter the blocked state. The expiration of a timer or received resource may move a task from the “blocked” state to the “ready” state.

Additionally, a task may put another task into the “suspended” state with the vTaskSuspend() function. This prevents the suspended task from running until another task calls the vTaskResume() function on the suspended task.

Note that tasks with equal priority are executed in a round-robin fashion.

Product Links:
https://www.digikey.com/en/products/d...

Related Videos:
Introduction to RTOS Part 1 - What is a Real-Time Operating System (RTOS)? -    • Introduction to RTOS Part 1 - What is a Re...  ​

Introduction to RTOS Part 2 - Getting Started with FreeRTOS -    • Introduction to RTOS Part 2 - Getting Star...  ​

Introduction to RTOS Part 3 - Task Scheduling -    • Introduction to RTOS Part 3 - Task Schedul...  ​

Introduction to RTOS Part 4 - Memory Management -    • Introduction to RTOS Part 4 - Memory Manag...  ​

Introduction to RTOS Part 5 - Queue -    • Introduction to RTOS Part 5 - Queue | Digi...  ​

Introduction to RTOS Part 6 - Mutex -    • Introduction to RTOS Part 6 - Mutex | Digi...  ​

Introduction to RTOS Part 7 -    • Introduction to RTOS Part 7 - Semaphore | ...  ​

Introduction to RTOS Part 8 -    • Introduction to RTOS Part 8 - Software Tim...  

Introduction to RTOS Part 9 -    • Introduction to RTOS Part 9 - Hardware Int...  

Introduction to RTOS Part 10 -    • Introduction to RTOS Part 10 - Deadlock an...  

Introduction to RTOS Part 11 -    • Introduction to RTOS Part 11 - Priority In...  

Introduction to RTOS Part 12 -    • Introduction to RTOS Part 12 - Multicore S...  

Related Project Links:
Introduction to RTOS Part 3 - Task Scheduling -https://www.digikey.com/en/maker/proj...

Related Articles:
Getting Started with STM32 and Nucleo Part 3 - https://www.digikey.com/en/maker/vide...

Learn more:
Maker.io - https://www.digikey.com/en/maker

Digi-Key’s Blog – TheCircuit https://www.digikey.com/en/blog

Connect with Digi-Key on Facebook   / digikey.electronics  

And follow us on Twitter   / digikey  

Не удается загрузить Youtube-плеер. Проверьте блокировку Youtube в вашей сети.
Повторяем попытку...
Introduction to RTOS Part 3 - Task Scheduling | Digi-Key Electronics

Поделиться в:

Доступные форматы для скачивания:

Скачать видео

  • Информация по загрузке:

Скачать аудио

Похожие видео

Introduction to RTOS Part 4 - Memory Management | Digi-Key Electronics

Introduction to RTOS Part 4 - Memory Management | Digi-Key Electronics

Introduction to RTOS Part 1 - What is a Real-Time Operating System (RTOS)? | Digi-Key Electronics

Introduction to RTOS Part 1 - What is a Real-Time Operating System (RTOS)? | Digi-Key Electronics

Overcome Mental Barriers with ESP32 Tasks

Overcome Mental Barriers with ESP32 Tasks

Introduction to RTOS Part 5 - Queue | Digi-Key Electronics

Introduction to RTOS Part 5 - Queue | Digi-Key Electronics

10 years of embedded coding in 10 minutes

10 years of embedded coding in 10 minutes

Introduction to RTOS

Introduction to RTOS

Как взломать любое программное обеспечение

Как взломать любое программное обеспечение

#363 Какие выводы ESP32 безопасны для использования?

#363 Какие выводы ESP32 безопасны для использования?

How does a USB keyboard work?

How does a USB keyboard work?

How a Single Bit Inside Your Processor Shields Your Operating System's Integrity

How a Single Bit Inside Your Processor Shields Your Operating System's Integrity

Introduction to RTOS Part 2 - Getting Started with FreeRTOS | Digi-Key Electronics

Introduction to RTOS Part 2 - Getting Started with FreeRTOS | Digi-Key Electronics

How Microcontroller Memory Works | Embedded System Project Series #16

How Microcontroller Memory Works | Embedded System Project Series #16

Прозвонка электронной платы шаг за шагом | Подробная инструкция для мастера | Программатор ST-LINK

Прозвонка электронной платы шаг за шагом | Подробная инструкция для мастера | Программатор ST-LINK

Будет ли встраиваемые системы по-прежнему привлекательной карьерой в 2026 году?

Будет ли встраиваемые системы по-прежнему привлекательной карьерой в 2026 году?

Что на самом деле означает P против NP

Что на самом деле означает P против NP

Introduction to RTOS Part 6 - Mutex | Digi-Key Electronics

Introduction to RTOS Part 6 - Mutex | Digi-Key Electronics

Real Time Operating Systems (RTOS) - Nate Graff

Real Time Operating Systems (RTOS) - Nate Graff

#381 How to work with a Real Time Operating System and is it any good? (FreeRTOS, ESP32)

#381 How to work with a Real Time Operating System and is it any good? (FreeRTOS, ESP32)

Introduction to RTOS Part 12 - Multicore Systems | Digi-Key Electronics

Introduction to RTOS Part 12 - Multicore Systems | Digi-Key Electronics

Как реализовать многозадачность с FreeRTOS (серия ESP32 + Arduino)

Как реализовать многозадачность с FreeRTOS (серия ESP32 + Arduino)

© 2025 ycliper. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: [email protected]