• You can log in to your eeworld account to continue watching:
  • Synchronization and mutual exclusion implementation methods (Part 1)
  • Login
  • Duration:41 minutes and 30 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

【stm32F7 League of Legends Competition】Multi-function test instrument host computer program
Demo post [url=https://en.eeworld.com/bbs/thread-478325-1-1.html]https://en.eeworld.com/bbs/thread-478325-1-1.html[/url]STM32F746 oscilloscope test programPC debugging program written in C#Communicati
littleshrimp stm32/stm8
#eeworld comic masterpiece#TI MCU comics, Electronic Xiaoqiang & Promotion Story!
Stellaris, grant me strength!More comics: https://www.eeworld.com.cn/comic/list.html
EEWORLD社区 Microcontroller MCU
[zephyrOS] Run on nucleo_f103rb compatible boards
Some time ago, I made a board compatible with ST official nucleo_f103rb, removed the onboard ST-LINK debugger, only did the lead processing, added spi flash, WIFI module (ESP-01/01S), wireless module
generalissimo Real-time operating system RTOS
Helper2416-24——YL-boot process and partial source code analysis (summary)
[i=s] This post was last edited by yuanlai2010 on 2014-7-31 17:16 [/i] [align=center][b][size=5][color=#0000ff]YL-boot[/color][/size][/b][b][size=5][color=#0000ff]Process and partial source code analy
yuanlai2010 Embedded System
Eight essential tools for engineers to build their own lab
From: [url=http://www.52rd.com/Blog/Detail_RD.Blog_xy61215_69148.html]http://www.52rd.com/Blog/Detail_RD.Blog_xy61215_69148.html[/url] [p=25, 2, left][color=rgb(51, 51, 51)][font=Simsun]The author is
wangfuchong Talking
R7F0C802x Easy Start Pedometer Implementation (3) --- Final Version
[i=s]This post was last edited by youki12345 on 2014-9-25 10:56[/i] [size=5] After a lot of preparation, it is finally time to complete it. First, let's take a look at the parts of our pedometer. [/si
youki12345 Renesas Electronics MCUs

Recommended Content

可能感兴趣器件

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号