• You can log in to your eeworld account to continue watching:
  • Core-level thread implementation and thread scheduling (Part 1)
  • Login
  • Duration:33 minutes and 40 seconds
  • Date:2018/10/21
  • Uploader:老白菜
Introduction
keywords: Linux operating system OS

(1) Operating system operating mechanism, interrupt/exception handling process, system calls and system usage interfaces. In class, we focus on explaining the operating mechanism of the operating system kernel function program, using analogies with daily life to explain the function of interrupts and implementation technology, using the actual operating system interface to demonstrate operating system utility programs, and allowing students to write a shell command interpreter in the after-school experiment. Understand system usage interfaces and use system calls in programming.

(2) Process concept, process switching and process scheduling. The actual operating system is used to demonstrate process creation and termination, and operating system tools are used to observe the properties of processes in the system and the rotation of processes. Classroom explanations emphasize the timing and methods of process scheduling switching, and multi-process programming is implemented in after-class experiments.
(3) Synchronous mutual exclusion primitives and applications. Heuristic explanation of the introduction of synchronized mutual exclusion primitives, some imperfect mutual exclusion implementations, guiding students to find out the shortcomings or errors of limited concurrency or inability to be mutually exclusive, and to find effective solutions. Use examples to repeatedly explain the application of primitives.
(4) Address translation and page replacement in paged virtual storage management. Put forward requirements from the perspective of user-friendly programming, introduce technology from the perspective of making full use of memory, and inspire students to understand the implementation of storage virtualization technology.
(5) The composition, function and interface of the driver, disk driver and request optimization, and caching technology. Use actual operating system driver files to enhance students' impressions, and use the operating system's delay or acceleration in reading and writing files and executing programs to illustrate disk request optimization and caching techniques.
(6) The directory structure and file storage and access permission mechanism of the file system. The file system is introduced by analogy with storage management, emphasizing the persistence characteristics of the file system, summarizing the security access mechanism of storage, and guiding students to understand operating system resource virtualization technology.
(7) Thread concept and thread implementation. The classroom uses actual operating systems to demonstrate threads, emphasizing the difference between threads and processes. The experiment advocates the use of threads for multi-programming, and compares the cost and security differences between multi-thread and multi-process programming.

Unfold ↓

You Might Like

Recommended Posts

What would you men do if you encountered an incident similar to the attack on the girl at Wangjing 798 and Yitel (Home Inn) Hotel?
Today I saw various discussions on various media about the "attack on a girl at Yitel (Home Inn) Hotel in Wangjing 798"; let's exclude all kinds of conspiracies and all kinds of black; let's talk abou
大静 Talking
MPLAB Harmony Learning Part 12 - How to use the "Command Processing" system service
[font=微软雅黑][size=5]This article is transferred from Microchip Wheatfield Forum[/size][/font] 1. Introduction: Command Processor System Service is a middleware based on the input and output console sys
橙色凯 Microchip MCU
MSP430 MCU debugging experience summary 2
[i=s]This post was last edited by tiankai001 on 2017-7-7 16:54[/i] [align=center][size=5]When the straw meets the high power consumption of the microcontroller[/size][/align] [size=4]During a debuggin
tiankai001 Microcontroller MCU
gooogleman - EEWORLD moderators in my eyes!
In order to cooperate with the [EEWORLD Community - 2010 Person of the Year Selection] event, I decided to try to post a message every day to talk about the moderators I know. First of all, here’s the
soso Talking
Key points for selecting switching DC/DC converters
[color=Black] The working principle of the three converters shown in the figure below is to store energy first and then release the energy in a controlled manner to obtain the required output voltage.
qwqwqw2088 Analogue and Mixed Signal
MCO (PA8) does not output waveform during DEBUG. What is the reason?
I turned on several clock sources, and the PA8 port was also configured as auxiliary function output, [/size][/font][/size][/align][align=left][size=14px][img=424,0]http:// www.stmcu.org.cn/module/for
csz9981 stm32/stm8

Recommended Content

Circuit

可能感兴趣器件

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号