• You can log in to your eeworld account to continue watching:
  • Thread concept (Part 2)
  • Login
  • Duration:25 minutes and 41 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

Experts say when to use BJT power switches
[align=left][color=#000]By Brian King[/url][/color][/color][/align][align=left][color=#000]Today, it is almost a given that switching power supplies will use MOSFETs as the power switches. But there a
qwqwqw2088 Analogue and Mixed Signal
EEWORLD Forum 2014 Week 11 (3.10-3.16) Highlights
[font=微软雅黑][size=3][b]The following ranking is in no particular order. It is just a small review of the wonderful posts on the forum last week. The purpose is to help more netizens to timely understan
eric_wang Integrated technical exchanges
EEWORLD University ---- BeRadio SDR Kit
BeRadio SDR Suite : https://training.eeworld.com.cn/course/2115BeRadio SDR Suite
chenyy Embedded System
[Help] Keilc programming about arrays
There is an array a[] and another one b[]. Can a[] be equal to b[]? That is, to make one array equal to another array. That is, to assign values, can two arrays be made equal directly? Or do we need s
zhaogang Embedded System
Teach you step by step to build a cheap Arm9 development platform!
If you are troubled by the high price of ARM9 development platform, have you considered building a cheap and practical ARM9 development platform yourself?
呱呱 MCU
MAX32630FTHR Design Notes (5): Four AD measurement range settings (and precautions)
[code]/******************************************************************* Content: ADC configuration, AIN0~AIN3 Author: Justice_Gao Date: July 15, 2017 Problem description: The reference voltage used
Justice_Gao DIY/Open Source Hardware

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号