• You can log in to your eeworld account to continue watching:
  • Process synchronization and communication (Part 2)
  • Login
  • Duration:27 minutes and 53 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

Can two processes read from the same serial port?
Operating system: WinCE5.0 Hardware environment: arm 9 processor Software environment: EVC4.0 There is a serial port in the navigation system that is used to receive the 0183 protocol on the GPS. One
chenpeng Embedded System
How does TAPI monitor incoming calls?
I am currently developing under Windows Mobile 5/6. I use C++. My question is: when a call comes in, how can I block the system caller ID and then display a dialog box that I define, such as using a m
helyboy_1999 Embedded System
help
Experts, I have posted a thread called "Multiplication Table", which is static. I want to make it dynamic, but I don't know how to do it? Please help! The link is as follows: C Language Zone (2) Multi
白家瑞 Creative Market
FPGA technology introduction and FPGA application fields
FPGA technology introduction and FPGA application fields.
雷北城 FPGA/CPLD
Is there a problem with the current flowing through STC12C5620AD?
When stc12c5620ad is connected to an external 11.0592MHZ crystal oscillator, the current flowing through the microcontroller reaches 18MA, and nothing is added to the peripheral circuit. When using th
jinrijun321 51mcu
[Help] Please tell me about the 3208 electronic clock failure of Duyang
Finally, I have completed the DIY of 3208, but there are some problems. I would like to ask you questions 1: After the production is completed, are there any key operations required after turning on t
springvirus MCU

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号