Programming Interview: Threads in Operating System (Java ) Part 2 Multithreading

preview_player
Показать описание
This video lecture is produced by S. Saurabh. He is B.Tech from IIT and MS from USA.

What do you understand by Threads in Operating System.

threads in operating system ppt
threads concept operating system
types of threads in operating system
threads in operating system definition
multithreading in operating system
threads in operating system pdf
process and threads in operating system ppt
threads in operating system

To prepare for programming Interview Questions on Binary Trees

To study programming Interview questions on Stack, Queues, Arrays visit

To watch all Programming Interview Questions visit

To learn about Pointers in C visit

To learn C programming from IITian S.Saurabh visit
Рекомендации по теме
Комментарии
Автор

Long live my Indian friend, from Kyrgyzstan

zigyias
Автор

What is thread manager and the other 3 threads ? Who is the thread manager here ? is it the thread from where we call thread.start(), thread.run() (for eg main method)

RS-yzis
Автор

The best thread tutorial, thanks bro... 

yusufkildan
Автор

Thank you very much! Couldn't explain it better!

kaanarikan
Автор

Thanks mate, it is a very good concept

pradeepsingh-cgiv
Автор

Hi Saurabh. The advantage is still not clear. You Said we can have threads for different tasks and then context switch between them will not let a thread to sit idle and do nothing. But the example you gave. Suppose DB thread takes 5 sec to complete its task and Request processing thread takes 5 seconds to complete its task. Now even if you do context switch and allocate time slice of CPU among these two tasks say by Round robin algorithm then still you will take Total(5+5=10) seconds. The same you will take in sequential processing. So how is multithreading helping?

manishjsrnit
Автор

hey sir, with the term ' 1 processor' did you mean 'single core' or just single processor with n cores??

ajeet.y
welcome to shbcf.ru