Search engine for discovering works of Art, research articles, and books related to Art and Culture
ShareThis
Javascript must be enabled to continue!

A Realization of Two-Level Scheduling in Embedded Operating System

View through CrossRef
Abstract In embedded operating systems, how to ensure thread tasks execute in order of priority is an important issue. Considering that thread may have child threads, and child threads are scheduled by their parent thread, so they also need to be executed accroding to their priorities. For such two-level scheduling issue, this paper proposes a new scheduling policy: parent thread uses the table-driven scheduling policy, and child thread uses the fixed priority scheduling policy to ensure the orderly execution of both parent and child threads. In order to cooperate with the implementation of two-level scheduling, this paper also realizes the creation of child threads in an embedded operating system by imitating Linux thread replication, connects the parent and child threads through pointers, and realizes a priority queue of child threads in their parent thread. In addition, by saving the ID of current executing child thread into the stack of corresponding parent thread, this paper ensures that parent thread can recover its last executing child thread after several switches of parent threads. Several experiments on 2440 single core development board showed that method proposed by this paper could realize the creation of sub threads and two-level thread scheduling in embedded operating system.
Title: A Realization of Two-Level Scheduling in Embedded Operating System
Description:
Abstract In embedded operating systems, how to ensure thread tasks execute in order of priority is an important issue.
Considering that thread may have child threads, and child threads are scheduled by their parent thread, so they also need to be executed accroding to their priorities.
For such two-level scheduling issue, this paper proposes a new scheduling policy: parent thread uses the table-driven scheduling policy, and child thread uses the fixed priority scheduling policy to ensure the orderly execution of both parent and child threads.
In order to cooperate with the implementation of two-level scheduling, this paper also realizes the creation of child threads in an embedded operating system by imitating Linux thread replication, connects the parent and child threads through pointers, and realizes a priority queue of child threads in their parent thread.
In addition, by saving the ID of current executing child thread into the stack of corresponding parent thread, this paper ensures that parent thread can recover its last executing child thread after several switches of parent threads.
Several experiments on 2440 single core development board showed that method proposed by this paper could realize the creation of sub threads and two-level thread scheduling in embedded operating system.

Related Results

Optimal irrigation scheduling combining water content sensors and remote sensing data
Optimal irrigation scheduling combining water content sensors and remote sensing data
By 2025, the Food and Agriculture Organization of the United Nations predicts that two-thirds of the world population will experience water stress conditions. In addition, it is ex...
Visual versus Tabular Scheduling Programs
Visual versus Tabular Scheduling Programs
Effective scheduling in construction is crucial for ensuring timely project completion and maintaining budget control. Scheduling programs play an important role in this process by...
A study on Multi-objective Flexible Job-shop Dynamic Scheduling Based on Control Window
A study on Multi-objective Flexible Job-shop Dynamic Scheduling Based on Control Window
Abstract It is of great practical significance to study the dynamic scheduling of production in flexible job-shop. In the flexible job-shop scheduling, process, cost...
Workflow Scheduling Based on Mobile Cloud Computing Machine Learning
Workflow Scheduling Based on Mobile Cloud Computing Machine Learning
In recent years, cloud workflow task scheduling has always been an important research topic in the business world. Cloud workflow task scheduling means that the workflow tasks subm...
Advanced Scheduling Schemes in 4G Systems
Advanced Scheduling Schemes in 4G Systems
The deterministic factor for 4G wireless technologies is to successfully deliver high value services such as voice, video, real-time data with well defined Quality of Service (QoS)...
Adaptive Scheduling of Mixing Trucks in Construction Sites with an Improved Deep Q-Network
Adaptive Scheduling of Mixing Trucks in Construction Sites with an Improved Deep Q-Network
The management of concrete mixing station distribution is evolving toward more intelligent and efficient methods. Additionally, in the context of the group operations of commodity ...
Performance Analysis of Scheduling Algorithms on Fog Computing using YAFS
Performance Analysis of Scheduling Algorithms on Fog Computing using YAFS
A smart device that has seen more development is the Internet of Things (IoT). An IoT system implementation requires a device that can accept and handle various sorts of data. Fog ...

Back to Top