Back to Browse

Part 3: Operating System Tutorial | Process vs Thread | Interprocess communication | Multithreading

4.2K views
Jun 20, 2020
55:52

PPT Slides - https://www.slideshare.net/shivammitra/threads-in-operating-system-multithreading-interprocess-communication Operating system playlist - https://www.youtube.com/playlist?list=PLhqPDa2HoaAZLws7PFYWl4MnzCyHf8do- Telegram channel link - https://t.me/joinchat/OcDlRxsp56Z1yiqQJu9unw 00:00 Introduction 1:33 Agenda 3:50 Independent vs cooperating process 9:09 Types of interprocess communication 13:14 difference between message passing and shared memory 16:00 Examples of message passing and shared memory 23:18 What are threads in operating system 29:25 Thread implementation in Linux 30:40 Difference between process and thread in operating system 35:36 Multithreading introduction 39:43 Advantages of multithreading 41:10 Challenges in multithreading 49:00 What is multiprocessing and hyperthreading 51:53 When to use thread vs process - chrome vs firefox 53:27 multiprogramming, multiprocessing and multithreading #codophobia #operatingsystem #interviews This is the third part of the operating system interview series. In this session, we will look at the following: 1. Interprocess communication ( IPC ) 2. Introduction to threads 3. Difference between threads and process 4. Multiprocessing vs multithreading 5. Multithreading challenges I will also be showing real examples of these on my linux based operating system. #operatingsystem #processmanagement #interviews #threads #interprocess #communication #multithreading #multiprocessing #computerscience What is an operating system? Functions of an operating system System calls in operating system Interrupts in operating system Difference between program and process Process control block Process states in operating system Scheduling queues in operating system Schedulers in operating system - long-term, short-term and medium-term Context switch in operating system Dispatcher in operating system Process creation using fork system call exec(), wait() and exit() system calls Examples of fork command Zombie and orphan process in operating system Interprocess communication in operating system What is a thread in operating system Difference between a process and a thread When to use process vs threads Multithreading models in operating system What is race condition in operating system with examples? What is critical section in operating system with examples? What is critical section problem and requirements for a solution to satisfy it? Peterson's solution for critical section problem - a software based solution. Drawbacks of Peterson's solution exaplained in details Test and set lock solution for critical section problem Critical section problem solution using swap instruction Semaphore and mutex in operating system Spin lock vs mutex vs binary semaphore vs counting semaphore Producer consumer solution using mutex and semaphore Reader writer solution using mutex and semaphore CPU Bound process vs IO Bound process Preemptive vs nonpreemptive scheduling process scheduling in operating system fcfs scheduling algorithm in os fcfs scheduling algorithm in operating system fcfs scheduling sjf scheduling algorithm in os sjf scheduling algorithm in operating system sjf scheduling sjtf scheduling algorithm in os sjtf scheduling algorithm in operating system sjtf scheduling priority scheduling algorithm in os priority scheduling algorithm in operating system priority scheduling with io burst round robin scheduling algorithm in os round robin scheduling algorithm in operating system round robin scheduling with io burst LRU page replacement algorithm in operating system Optimal page replacement algorithm in operating system FIFO page replacement algorithm in operating system Page replacement technique in operating system TLB cache in operating system Paging in operating system Demand paging in operating system Paging and segmentation in operating system Swapping in operating system Logical memory and physical memory in operating system Memory management in operating system Virtual memory in operating system Page replacements algorithms in operating system Contiguous memory allocation in operating system Contiguous and noncontiguous memory allocation

Download

0 formats

No download links available.

Part 3: Operating System Tutorial | Process vs Thread | Interprocess communication | Multithreading | NatokHD