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

  Рет қаралды 54,684

Geekific

Geekific

Күн бұрын

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

Пікірлер: 47
@IqraKhan-lo1ch
@IqraKhan-lo1ch 16 күн бұрын
thanks alot this is video is also covering the topic of thread level parallelism
@yash1152
@yash1152 11 ай бұрын
0:40 finally someone who gets their audio volume levels right. (loud enough for voice & dialog; & equal or bit lower for intho music)
@johnnickles7101
@johnnickles7101 9 ай бұрын
X in longer a hypothetical company lol
@user-it2zl5kh8l
@user-it2zl5kh8l 11 ай бұрын
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 !
@marianaaa24
@marianaaa24 Жыл бұрын
Amazing video, best one I’ve seen about threading! Thank you!!!
@laumatthew71
@laumatthew71 Жыл бұрын
The examples used to illustrate the concepts are really well-chosen. Thank you sir !
@jayanta3542
@jayanta3542 4 ай бұрын
this was really a good video, great job, very helpful!
@yourdudecodes
@yourdudecodes 4 ай бұрын
Amazing Video, Very Helpful.
@dhruvburada5391
@dhruvburada5391 Ай бұрын
Thank you for your such detailed Information It is something I was looking for.
@charlesclayman3909
@charlesclayman3909 Жыл бұрын
The example was a perfect one. Thank you!!
@Vicknary
@Vicknary 6 ай бұрын
very good explanation with perfect example. Thank you 🙂
@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 :)
@dishantsuryawanshi5139
@dishantsuryawanshi5139 10 ай бұрын
Very well explained Sir..
@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!
@Sara-oy6ly
@Sara-oy6ly Жыл бұрын
Great explanation thank you🥰
@josephemmanuel5409
@josephemmanuel5409 11 ай бұрын
The analogies used are top notch. Really broke it down
@jasper5016
@jasper5016 6 ай бұрын
Top notch content. Thanks for educating me,
@strong_believer
@strong_believer Жыл бұрын
Amazing explanation thank you
@yassifrd128
@yassifrd128 3 ай бұрын
bro the less thing that i can say is , that's amazing , thank you so much
@049593657
@049593657 10 ай бұрын
One of the best expenation 🥇
@jayshah8271
@jayshah8271 5 ай бұрын
very nice explanation
@grahamparr4451
@grahamparr4451 Ай бұрын
Nice one dude
@mercykissi7016
@mercykissi7016 Ай бұрын
Nice one
@hetalchavan9446
@hetalchavan9446 10 ай бұрын
Great content
@KH-hn3nu
@KH-hn3nu Жыл бұрын
Poetry. Thank you sir!
@alaaageela1174
@alaaageela1174 Жыл бұрын
you're the man 🧑‍🔧
@Geeky-Boy
@Geeky-Boy 10 ай бұрын
Thanks bro ❤
@retroprime7244
@retroprime7244 Жыл бұрын
thank you.I figured it out 👍
@turalaliyev1764
@turalaliyev1764 9 ай бұрын
Thanks
@YoussefAdelWahba
@YoussefAdelWahba 8 ай бұрын
King 👑
@andrejtrozic509
@andrejtrozic509 6 ай бұрын
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 6 ай бұрын
Thanks! y*3
@andrejtrozic509
@andrejtrozic509 6 ай бұрын
@@geekific Svaka čast brate! I Hvala!!!
@amirtavakolian8037
@amirtavakolian8037 9 ай бұрын
YOU ARE AWESOMEEEEE ☕
@bernaridho
@bernaridho Жыл бұрын
A program is a collection of module(s) having one and only one entry point.
@abdullahsoomro6238
@abdullahsoomro6238 10 ай бұрын
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 10 ай бұрын
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)
@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 5 ай бұрын
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 10 ай бұрын
I spoke to Siri as to the difference between threads and layers. This KZbin was third on the list of Siri’s responses 🦥
@matthewbombaci7780
@matthewbombaci7780 10 ай бұрын
Why can’t I edit my KZbin post for this KZbin video?
1❤️
00:20
すしらーめん《りく》
Рет қаралды 32 МЛН
1 класс vs 11 класс (неаккуратность)
01:00
But, what is Virtual Memory?
20:11
Tech With Nikola
Рет қаралды 184 М.
Linux File System/Structure Explained!
15:59
DorianDotSlash
Рет қаралды 4 МЛН
Processes and threads - Gary explains
7:36
Android Authority
Рет қаралды 131 М.
Multithreading Code - Computerphile
15:54
Computerphile
Рет қаралды 377 М.
but what is 'a lifetime?
12:20
leddoo
Рет қаралды 57 М.
Concurrency vs Parallelism
9:29
Jakob Jenkov
Рет қаралды 60 М.
What is virtual memory? - Gary explains
11:28
Android Authority
Рет қаралды 293 М.
Operating Systems: Crash Course Computer Science #18
13:36
CrashCourse
Рет қаралды 1,5 МЛН
1❤️
00:20
すしらーめん《りく》
Рет қаралды 32 МЛН