Тёмный

What is a Thread? | Threads, Process, Program, Parallelism and Scheduler Explained | Geekific 

Geekific
Подписаться 31 тыс.
Просмотров 58 тыс.
50% 1

Support us on Patreon: / geekific
GitHub Repository: github.com/geekific-official/...
Stay updated on our videos by subscribing to the channel and hitting the like button!
If you’re into programming, you may for sure have heard the term Thread or Threading in relation to a computer program, but you weren’t exactly sure what it meant. How about Process? or Program? You likely understand that a thread is somehow related to a program or a process, but maybe, that’s as far as your understanding goes. In this video we explain what a thread is, and make sure that all the questions you may have surrounding this topic are answered.
Timestamps:
00:00 Introduction
00:35 What are Threads and Processes?
03:09 What is a Program?
04:12 What is Parallelism?
06:07 What is a Scheduler?
06:51 Recap on Threads
07:27 Inter-Thread vs. Inter-Process Communication
09:36 Thanks for Watching!
If you found this video helpful, check other Geekific uploads:
- Abstract Data Types vs. Data Structures: • Abstract Data Types vs...
- Generics and Wildcards in Java Made Simple: • Generics and Wildcards...
- Object-Oriented Programming Fundamentals: • What is Object-Oriente...
- Introduction to Databases - The Fundamentals: • What is a Database? | ...
- Graphs - The Fundamentals: • Introduction to Graphs...
- The Volatile and Synchronized Keywords in Java, Atomic Variables: • The Volatile and Synch...
- Thread, Runnable, Callable, Future, ExecutorService: • Creating Threads and E...
- Atomic Variables, Adders and Accumulators in Java: • Atomic Variables, Adde...
- Locks, Monitors and Semaphores Explained in Java: • Locks, Monitors and Se...
#Geekific #Thread #Process #Parallelism

Опубликовано:

 

30 июн 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 50   
@princezuko7073
@princezuko7073 День назад
This video should get more views. absolutely top one. the information visualization and topics covered in a same story line helped me understand the whole process. Next, I am going to learn how the thread, scheduler are implemented in low level coding.
@user-it2zl5kh8l
@user-it2zl5kh8l Год назад
I've always been confused about the differences between threads and processes, and I've watched many videos attempting to explain it. However, this particular video was the first one that helped me truly understand the distinction. Thank you so much for providing such a clear explanation !
@laumatthew71
@laumatthew71 Год назад
The examples used to illustrate the concepts are really well-chosen. Thank you sir !
@johnnickles7101
@johnnickles7101 11 месяцев назад
X in longer a hypothetical company lol
@marianaaa24
@marianaaa24 Год назад
Amazing video, best one I’ve seen about threading! Thank you!!!
@yash1152
@yash1152 Год назад
0:40 finally someone who gets their audio volume levels right. (loud enough for voice & dialog; & equal or bit lower for intho music)
@ForWork-mj9fv
@ForWork-mj9fv День назад
Thank you for this masterpiece
@dhruvburada5391
@dhruvburada5391 2 месяца назад
Thank you for your such detailed Information It is something I was looking for.
@IqraKhan-lo1ch
@IqraKhan-lo1ch Месяц назад
thanks alot this is video is also covering the topic of thread level parallelism
@jayanta3542
@jayanta3542 5 месяцев назад
this was really a good video, great job, very helpful!
@yourdudecodes
@yourdudecodes 5 месяцев назад
Amazing Video, Very Helpful.
@Vicknary
@Vicknary 7 месяцев назад
very good explanation with perfect example. Thank you 🙂
@probexpd1916
@probexpd1916 Год назад
A good analogy can make all the difference - and this guy really lit things up for me. Thank you!
@geekific
@geekific Год назад
Glad it was helpful!
@danielsims5771
@danielsims5771 Год назад
I subscribed right away upon listening to you for the very first time. Continue uploading such content please. It is really helpful to us and much valued.
@geekific
@geekific Год назад
Welcome aboard! Thanks for the support :)
@charlesclayman3909
@charlesclayman3909 Год назад
The example was a perfect one. Thank you!!
@jasper5016
@jasper5016 7 месяцев назад
Top notch content. Thanks for educating me,
@yassifrd128
@yassifrd128 4 месяца назад
bro the less thing that i can say is , that's amazing , thank you so much
@josephemmanuel5409
@josephemmanuel5409 Год назад
The analogies used are top notch. Really broke it down
@049593657
@049593657 11 месяцев назад
One of the best expenation 🥇
@Sara-oy6ly
@Sara-oy6ly Год назад
Great explanation thank you🥰
@dishantsuryawanshi5139
@dishantsuryawanshi5139 11 месяцев назад
Very well explained Sir..
@strong_believer
@strong_believer Год назад
Amazing explanation thank you
@grahamparr4451
@grahamparr4451 2 месяца назад
Nice one dude
@jayshah8271
@jayshah8271 6 месяцев назад
very nice explanation
@mercykissi7016
@mercykissi7016 2 месяца назад
Nice one
@alaaageela1174
@alaaageela1174 Год назад
you're the man 🧑‍🔧
@hetalchavan9446
@hetalchavan9446 11 месяцев назад
Great content
@KH-hn3nu
@KH-hn3nu Год назад
Poetry. Thank you sir!
@retroprime7244
@retroprime7244 Год назад
thank you.I figured it out 👍
@Geeky-Boy
@Geeky-Boy 11 месяцев назад
Thanks bro ❤
@turalaliyev1764
@turalaliyev1764 10 месяцев назад
Thanks
@YoussefAdelWahba
@YoussefAdelWahba 9 месяцев назад
King 👑
@bernaridho
@bernaridho Год назад
A program is a collection of module(s) having one and only one entry point.
@TrusePkay
@TrusePkay 11 дней назад
The hierarchy is • Operating System • Processes - Main process and child processes • Threads - Main thread and other threads • Tasks - Subroutines and Coroutines
@amirtavakolian8037
@amirtavakolian8037 10 месяцев назад
YOU ARE AWESOMEEEEE ☕
@andrejtrozic509
@andrejtrozic509 7 месяцев назад
Nice video, but I really have some questions.. So when program loads from some disk-space into RAM and it becomes executable and we say it becomes a process? -y/n The program in its running state is called process? -y/n Process is something like a company and threads are its employees , so the threads are processes workers? -y/n
@geekific
@geekific 7 месяцев назад
Thanks! y*3
@andrejtrozic509
@andrejtrozic509 7 месяцев назад
@@geekific Svaka čast brate! I Hvala!!!
@krishnachaitanya1265
@krishnachaitanya1265 2 года назад
Why 2 dislikes ? im not sure why anyone can disliked?
@geekific
@geekific 2 года назад
@derryyeh
@derryyeh 2 года назад
agree, this video is informative. One thing to note, probably to some viewers, I found sometimes the "xxx of xxx will result in the form of xxx" is not straight forward. For example: "The joint effort of all threads will result in the execution of the sequence of operations." is wordy and not straightforward. It can simply say as "The operation is the sequence of execution. It's the joint effort of all threads." Something like that
@abdullahsoomro6238
@abdullahsoomro6238 11 месяцев назад
QUESTION: Scenario 1: I have open google chrome browser. A single instance of google chrome is loaded into memory. Which is called [1 proces] of google chrome right? Scenario 2: I have open google chrome twice. So two instances of google chrome loaded into memory. Which are called [2 process] of google chrome right? Scenario 3: Consider [Scenario 1]. I have one tab open which is by default. So I have [1 process] within a process according to your expectation? Scenario 4: Consider [Scenario 1] again. I have open two tab open. So I have [2 processes] within a process according to your expectations? I am confused please reply.🙏
@geekific
@geekific 11 месяцев назад
Scenarios 1, 2, 3 are correct. Concerning 4, and to relate to the video yes that would be it. But since late 2021 / early 2022, Chrome has undergone many changes and optimizations, so that might not be the case as of this comment. Don't stress on Chrome in particular, just try to focus on the main takeaways of the video :) Hope this answers it! (and sorry for being late)
@1nOnlySB
@1nOnlySB 6 месяцев назад
You would have never imagined that, Elon Musk himself would name his company as X. #justkidding
@Souls-iq8to
@Souls-iq8to Год назад
I love you! (No homo)
@matthewbombaci7780
@matthewbombaci7780 11 месяцев назад
I spoke to Siri as to the difference between threads and layers. This RU-vid was third on the list of Siri’s responses 🦥
@matthewbombaci7780
@matthewbombaci7780 11 месяцев назад
Why can’t I edit my RU-vid post for this RU-vid video?
Далее
But, what is Virtual Memory?
20:11
Просмотров 221 тыс.
THE POLICE TAKES ME! feat @PANDAGIRLOFFICIAL #shorts
00:31
Difference between processes and threads
10:30
Просмотров 106 тыс.
Processes and threads - Gary explains
7:36
Просмотров 132 тыс.
Concurrency vs Parallelism
9:29
Просмотров 62 тыс.
Multithreading Code - Computerphile
15:54
Просмотров 379 тыс.
PROOF JavaScript is a Multi-Threaded language
8:21
Просмотров 265 тыс.
What is a Process in an Operating System?
7:01
Просмотров 12 тыс.