No video

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

  Рет қаралды 63,004

Geekific

Geekific

Күн бұрын

Support us on Patreon: / geekific
Discord Community: / discord
GitHub Repository: github.com/gee...
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

Пікірлер: 53
@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 !
@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.
@laumatthew71
@laumatthew71 Жыл бұрын
The examples used to illustrate the concepts are really well-chosen. Thank you sir !
@johnnickles7101
@johnnickles7101 Жыл бұрын
X in longer a hypothetical company lol
@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)
@TrusePkay
@TrusePkay Ай бұрын
The hierarchy is • Operating System • Processes - Main process and child processes • Threads - Main thread and other threads • Tasks - Subroutines and Coroutines
@IqraKhan-lo1ch
@IqraKhan-lo1ch 3 ай бұрын
thanks alot this is video is also covering the topic of thread level parallelism
@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!
@fasihuihassan518
@fasihuihassan518 Ай бұрын
very well explained from the scratch
@ForWork-mj9fv
@ForWork-mj9fv Ай бұрын
Thank you for this masterpiece
@marianaaa24
@marianaaa24 Жыл бұрын
Amazing video, best one I’ve seen about threading! Thank you!!!
@yassifrd128
@yassifrd128 5 ай бұрын
bro the less thing that i can say is , that's amazing , thank you so much
@dhruvburada5391
@dhruvburada5391 3 ай бұрын
Thank you for your such detailed Information It is something I was looking for.
@josephemmanuel5409
@josephemmanuel5409 Жыл бұрын
The analogies used are top notch. Really broke it down
@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 :)
@yourdudecodes
@yourdudecodes 6 ай бұрын
Amazing Video, Very Helpful.
@andrejtrozic509
@andrejtrozic509 9 ай бұрын
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 9 ай бұрын
Thanks! y*3
@andrejtrozic509
@andrejtrozic509 9 ай бұрын
@@geekific Svaka čast brate! I Hvala!!!
@Vicknary
@Vicknary 9 ай бұрын
very good explanation with perfect example. Thank you 🙂
@KH-hn3nu
@KH-hn3nu Жыл бұрын
Poetry. Thank you sir!
@jayanta3542
@jayanta3542 6 ай бұрын
this was really a good video, great job, very helpful!
@charlesclayman3909
@charlesclayman3909 Жыл бұрын
The example was a perfect one. Thank you!!
@049593657
@049593657 Жыл бұрын
One of the best expenation 🥇
@jasper5016
@jasper5016 9 ай бұрын
Top notch content. Thanks for educating me,
@Sara-oy6ly
@Sara-oy6ly Жыл бұрын
Great explanation thank you🥰
@alaaageela1174
@alaaageela1174 Жыл бұрын
you're the man 🧑‍🔧
@dishantsuryawanshi5139
@dishantsuryawanshi5139 Жыл бұрын
Very well explained Sir..
@grahamparr4451
@grahamparr4451 4 ай бұрын
Nice one dude
@jayshah8271
@jayshah8271 7 ай бұрын
very nice explanation
@strong_believer
@strong_believer Жыл бұрын
Amazing explanation thank you
@menachemlevi
@menachemlevi Ай бұрын
amazing
@mercykissi7016
@mercykissi7016 4 ай бұрын
Nice one
@hetalchavan9446
@hetalchavan9446 Жыл бұрын
Great content
@retroprime7244
@retroprime7244 Жыл бұрын
thank you.I figured it out 👍
@Geeky-Boy
@Geeky-Boy Жыл бұрын
Thanks bro ❤
@bernaridho
@bernaridho Жыл бұрын
A program is a collection of module(s) having one and only one entry point.
@turalaliyev1764
@turalaliyev1764 11 ай бұрын
Thanks
@YoussefAdelWahba
@YoussefAdelWahba 10 ай бұрын
King 👑
@abdullahsoomro6238
@abdullahsoomro6238 Жыл бұрын
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 Жыл бұрын
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)
@amirtavakolian8037
@amirtavakolian8037 Жыл бұрын
YOU ARE AWESOMEEEEE ☕
@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
@1nOnlySB
@1nOnlySB 7 ай бұрын
You would have never imagined that, Elon Musk himself would name his company as X. #justkidding
@andyhall7032
@andyhall7032 2 күн бұрын
LOL let''s name this company X
@Souls-iq8to
@Souls-iq8to Жыл бұрын
I love you! (No homo)
@matthewbombaci7780
@matthewbombaci7780 Жыл бұрын
I spoke to Siri as to the difference between threads and layers. This KZfaq was third on the list of Siri’s responses 🦥
@matthewbombaci7780
@matthewbombaci7780 Жыл бұрын
Why can’t I edit my KZfaq post for this KZfaq video?
Intro to Processes & Threads
15:46
Dave Crabbe
Рет қаралды 128 М.
Lehanga 🤣 #comedy #funny
00:31
Micky Makeover
Рет қаралды 26 МЛН
CHOCKY MILK.. 🤣 #shorts
00:20
Savage Vlogs
Рет қаралды 27 МЛН
Вы чего бл….🤣🤣🙏🏽🙏🏽🙏🏽
00:18
But, what is Virtual Memory?
20:11
Tech With Nikola
Рет қаралды 254 М.
Difference between processes and threads
10:30
CodeVault
Рет қаралды 109 М.
Multithreading Code - Computerphile
15:54
Computerphile
Рет қаралды 382 М.
Rust Data Modelling Without Classes
11:25
No Boilerplate
Рет қаралды 169 М.
Node.js is a serious thing now… (2023)
8:18
Code With Ryan
Рет қаралды 640 М.
Lehanga 🤣 #comedy #funny
00:31
Micky Makeover
Рет қаралды 26 МЛН