An introduction that explains the basic concept of a process and a thread.
Пікірлер: 156
@andriymit74016 жыл бұрын
Clear, concise, illustrated, well explained and done in a nice English! Thank you so much Dave!
@bro_chenzox4 жыл бұрын
Yes it is made for humans - Thank you for your leisurely and detailed style, Dave!
@alonhillel-tuch65603 жыл бұрын
What is a "not nice English"? To avoid misinterpretation of your comment, for me, it's folks using abbreviations when trying to explain to students (missing the point).
@abstractapproach6343 жыл бұрын
@@alonhillel-tuch6560 if you want know what "not nice english" is your checking the right places. Normally the only thing more toxic than a KZfaq comment section is the "professionals" on stack exchange! However these comments seem quite respectful, check out a linus comment section for some great examples.
@ruixue69557 жыл бұрын
0:39 a simple program 0:55 every step of a program corresponds to an instruction 1:04 each instuction corresponds to binary code 4:50 thread 5:28 think of this as a unit of execution 6:56 scheduler of operating system 8:11 time slice 11:09 proces 12:42 today's CPU 13:06 hyper threading 14:10 multi-core 14:38 multi-CPU (the best solution) 15:11 summary
@davecrabbe45794 жыл бұрын
Thanks for taking the time to document this..
@andywei55184 жыл бұрын
nice :)
@Emir-xq7jt Жыл бұрын
Finally someone "explained" rather than "re-read" from pre-made text. Thanks a lot!
@CarlitoProductions6 жыл бұрын
This is what I needed. My teacher can't explain, and this has the been the clearest explanation I found on KZfaq so far
@joshfoster39595 жыл бұрын
Great Lecture! I really wish my professors at my university would teach like this. Very clear, concise, and not too fast... really like the pace of your teaching style. Thanks!
@nicoleanne9676 жыл бұрын
THANK YOU VERY MUCH FOR BEING SO DETAILED AND CONCISE!! PLEASE KEEP UP THE GOOD WORK! YOU'VE HELPED ME SO MUCH!!
@shanegrayson70685 жыл бұрын
Slowly explaining and with relevant example. This is perfect.
@_romeopeter4 жыл бұрын
This explanation was a bit broad and clear compared to the other videos I’ve seen. Exactly what I needed. Thanks
@patc91914 жыл бұрын
I wish I could give you multiple likes. Excellent, orderly, impacting lecture. Thank you.
@srikanth_y3 жыл бұрын
I've watched a lot of videos on this topic and none of them made sense to me except this one. Thank you.
@mariopichardo3766 жыл бұрын
This was excellent, thank you so much. Very concise and well explained.
@B-Billy11 ай бұрын
The best explanation over the whole internet!! Thank you
@konarkmodi37995 жыл бұрын
Far best explaination with beautiful overview to internal relation of threads with the operating system. Schedular, time slice, round Robin, queue, locking.. Tysm.. For this video🤗😊
@abbasramees4238 Жыл бұрын
I have been looking for this kind of explanation, and finally got it. everyone is explaining threads with jargon terms.
@whatdoyousay42365 жыл бұрын
Concise and practical! Brilliant. Thank you!
@vinhtruonghuynh79685 жыл бұрын
A very informative lecture for a brief introduction about the basic concepts of processes and threads. Thank you a lot.
@JC-cu2ym4 жыл бұрын
Thankyou so much for your explanation!!!! I was having a bit of a hard time connecting all of the new concepts I had just learnt but you made it so much easier and explained precisely in a short time. :D
@daleashman4345 жыл бұрын
Thank you very much, subscribed to this hidden gem for teaching you basics of computer systems!
@voltaralcala90214 жыл бұрын
My teachers call me stupid because I question them and they can't answer. And try to shut students up they go like do the research yourself. I am glad after three days wasting with them and on research, I finally found your channel and finally got my answer with examples. Thank you, good sir, great explanation.
@davecrabbe45794 жыл бұрын
grin.. I'll bet they don't call you stupid..
@ravikumarprasad87724 жыл бұрын
Very simple and elaborate explanation, Thank you Dave :)
@laughingalien6 жыл бұрын
Brilliantly explained, Dave.
@leegaines23916 жыл бұрын
Thank you so much for sharing this. This filled some gaps in my knowledge.
@dannggg2 жыл бұрын
i finally understood it. tired of all these professors with slides that doesn't explain crap. Thank mr. crabbe!
@youssefsabbagh43412 жыл бұрын
It can't get any better than that !! Great explanation
@rahulshekhary94202 жыл бұрын
Best explanation in you tube on Processes & Threads..............super subscribed:)
@pnamgay14777 жыл бұрын
Wonderful tutorial on Process and Thread. Thank you!
@user-tw4kt8du9t3 жыл бұрын
This was incredibly clear!
@aaronw64853 жыл бұрын
Fantastic explanation, keep up the great content Dave!
@Victor-cg4hx Жыл бұрын
It is an amazing video that helps me to clearly understand the relationship, thanks a lot !
@repairspots9 ай бұрын
Awesome video explanation. Thanks for sharing your knowledge
@johndocherty23495 жыл бұрын
This helped tremendously. Thanks.
@hellosonymoto2 жыл бұрын
Nice content and great teaching skills. Thanks so much.
@rajcodes1005 жыл бұрын
Thanks sir for explaining this concept in such a simple way.
@serinagrill3607 Жыл бұрын
Well-explained, thanks so much!
@mahmoudsalhab30074 жыл бұрын
well explained, looking forward for more videos, Thank You :)
@AvinashSingh-bk8kg5 жыл бұрын
Video Published on 1st May 2017. Me Watching it on 1st May 2019 A great Co-incidence and exposure to a fantastic tutorial. Thanks Mr. DAVE.
@dinujaya60984 жыл бұрын
1st May 2020
@StephenChapman7 жыл бұрын
Thanks for your effort with these videos, Dave! This one really helped me shore up some loose ends on the topic. Looking forward to more!
@techbbas3 жыл бұрын
if you need c++ easy coding then visit my channel. and also subscribe plz kzfaq.info/love/1LJDu2koq9y146MUH8prAg
@StephenChapman3 жыл бұрын
Just FYI: Spamming comments like this will actually hurt your channel and ranking, so you should reconsider that as a strategy to grow your channel.
@alonfriling3019 ай бұрын
Great introduction to Threads and multiThreading
@Creeping665 жыл бұрын
Many many thanks for the explanation!
@romannagel24145 жыл бұрын
Excellent explanation!!!
@brunoloverius57775 жыл бұрын
Hey Dave, thank you verry much! cheers from belgium! :)
@zuzukouzina-original5 жыл бұрын
Really good and clearly explained. Thnx!
@minirasamedova6483 жыл бұрын
Great explanation, thank you so much!!!
@kaoengine6 жыл бұрын
tks sir, your explanation more understandable than my professor
@DanielSColao3 жыл бұрын
Great lecture! Well explained
@pratim995 Жыл бұрын
Very well explained. Thanks
@derekdj67905 жыл бұрын
Phenomenal explanation
@praveenbs81463 жыл бұрын
very helpful video , amazing
@BayAreaMoolah2 жыл бұрын
Great video!
@prathameshkaole86832 жыл бұрын
Tom cruise giving a great explanation !
@ashraffayad6 жыл бұрын
That was very useful. Thank you.
@matheusmansourelbatti77162 жыл бұрын
Thank you, Dave! I think you couldn´t possibly have explained it better. I was struggling with these concepts before but they are now clear. Subscribed!
@thedhanjit7 жыл бұрын
brilliant explanation.....thank you ...so much ...
@orimahn35236 жыл бұрын
WOW!!! Thank you so much for such a clear explanation!!!
@techbbas3 жыл бұрын
if you need c++ easy coding then visit my channel. and also subscribe plz kzfaq.info/love/1LJDu2koq9y146MUH8prAg
@SzTz1003 жыл бұрын
Nice job explaining this so clearly
@pujithag94853 жыл бұрын
Amazing sir !!! Thanks a lot !
@sunnykumar47805 жыл бұрын
thank you sir for explaining it so nicely...
@retardedead51245 жыл бұрын
Awesome video.
@vlad9817 жыл бұрын
Thanks! very useful!
@CartmanBrah6 жыл бұрын
Great video Dave, if only my lecturer was as articulate !
@giddy2225 жыл бұрын
thank you very much. The explanations are precise and simple
@techbbas3 жыл бұрын
if you need c++ easy coding then visit my channel. and also subscribe plz kzfaq.info/love/1LJDu2koq9y146MUH8prAg
@ccjx_space2 жыл бұрын
Thank you! 👏
@pratikkhairnar80373 жыл бұрын
thank u for such a knowledgeable lecture
@siva.13342 жыл бұрын
very imformative.thanks.
@datafluids66545 жыл бұрын
The example cited is not of multi threading but of multi processing. Word and Excel are two separate programs and therefore spawn separate processes each with their own process ID. It would be multi threading only if its the same program and they share the same memory address space.
@davecrabbe45795 жыл бұрын
Absolutely.. I am explaining a bunch of concepts here. First the idea of the scheduler controlling a thread's access to the CPU. So my first example between Word and Excel is multi-processing. But to the scheduler it is just arbitrating between 2 threads. At about 11:40, I show multi-threading in a Word application by describing one thread that handles keyboard input and one thread that handles printing. Both from the Word application. To the scheduler, it is just 2 threads. So there are multiple threads vying for the CPUs execution engine all the time. Sometimes the threads come from one application (called a multi-threaded app) and sometimes the threads come from different apps (or processes), and this is multi-processing (loosely referred to as multi-tasking).
@datafluids66545 жыл бұрын
@@davecrabbe4579 Ok great, I got it now. Thanks Dave for the video and the detailed reply, its really appreciated.
@imedt43854 жыл бұрын
clear rich contents well explained.
@techbbas3 жыл бұрын
if you need c++ easy coding then visit my channel. and also subscribe plz kzfaq.info/love/1LJDu2koq9y146MUH8prAg
@samyakjain93672 жыл бұрын
Thanks a LOT sir.!
@estatedealzru7 жыл бұрын
Awesome) thank you very much
@snehamayroy339 Жыл бұрын
Thanks a lot sir
@brettvanderwerff31585 жыл бұрын
This was really good
@jonassteinberg37796 жыл бұрын
a nice intro to threads from the cpu's perspective.
@Psychronisch5 жыл бұрын
much thanks!
@shindurireddy34695 жыл бұрын
Very well explained... enjoyed learning!
@techbbas3 жыл бұрын
if you need c++ easy coding then visit my channel. and also subscribe plz kzfaq.info/love/1LJDu2koq9y146MUH8prAg
@lihaozhang66113 жыл бұрын
Excellent Video, Really Help me a lot
@techbbas3 жыл бұрын
if you need c++ easy coding then visit my channel. and also subscribe plz kzfaq.info/love/1LJDu2koq9y146MUH8prAg
@muradheyderov5 жыл бұрын
Great, Thanks
@thejkeenan214 жыл бұрын
great tutorial
@lycorice2219 Жыл бұрын
ah I wish you were my professor. You explain it sooo much better - I'd probably enjoy the class more if you were my prof instead T---T
@user-nb6bo6hl6d6 ай бұрын
Great!
@xyz88694 жыл бұрын
BEST EVER!!
@lantern86135 жыл бұрын
Thank you.
@shivanshutiwari84525 жыл бұрын
Nice Explanation .. :)
@genlucero29745 жыл бұрын
Nice tutorial!
@moazelsawaf20005 жыл бұрын
Thanks sir ❤️
@partha951236 жыл бұрын
Very good video tutorial!! Thank you Sir :)
@techbbas3 жыл бұрын
if you need c++ easy coding then visit my channel. and also subscribe plz kzfaq.info/love/1LJDu2koq9y146MUH8prAg
@vijaydosth43394 жыл бұрын
well explained.
@user-ej3iw8lw3w2 жыл бұрын
When we talk about multithread programming, it means that the application process(es) can have several running threads. When we have multiple threads, the process can answer multiple concurrent requests. There is a catch in this programming paradigm though; the running application can only benefit if it is using more than one processor core, otherwise it will be as if it were a single process.
@davecrabbe45792 жыл бұрын
yes.. but for desktop OSes, they all can access multiple cores on today's CPUs.
@LuaneCarolineAquinoCavalcanti4 жыл бұрын
Thanks, It is a very clear explanation
@techbbas3 жыл бұрын
if you need c++ easy coding then visit my channel. and also subscribe plz kzfaq.info/love/1LJDu2koq9y146MUH8prAg
@saranyailla87624 жыл бұрын
Best!
@salahelwerfally88107 жыл бұрын
amazing
@ralphchen65146 жыл бұрын
very nice
@etbilu62655 жыл бұрын
thanks for the explanation, Dave! greetings from Brazil.in 5:54 , i have a question:thread is a full sequence of the instructions of process or a small group the instructions of process (6a,2b,8f,3c in the example)?
@davecrabbe45795 жыл бұрын
a thread is the complete set of instructions that complete some sub-task for the process. For instance, when the user hits PRINT in a word processing program. A 'thread is spawned", meaning a set of instructions that contain all the code to do the printing function are generated and sent into the queue to be executed by the CPU.
@etbilu62655 жыл бұрын
Thank you, I couldn’t have done it without you
@VP-es6wy4 жыл бұрын
Terrific
@jammin0045 жыл бұрын
very nice Sir
@mohammedaminetrabzi30842 жыл бұрын
👍
@abstractapproach6343 жыл бұрын
My other post was a joke,but *I actually have a question* after watching your next video (where comments are turned off) *Does this mean I have no way to tell my 32 core 64 thread threadripper 3970x which core/thread to use?* I want control of my system, and I'm starting to feel like I'm going to need hardware modifications. *Is there a way* via prioritizing cleverly *to* truly *control what information goes to thread `a' on core `x'* ? or am I stuck outside, having to trust this "scheduler" to decide what part of my code can be done in parallel when and in the optimal way considering each cores silicone lottery and proximity. That's a lot of trust, AMD is supposedly all about open source. There must be a way to gain full control.
@davecrabbe45793 жыл бұрын
The scheduler chooses the highest priority thread.. The best you can do is to write your own software and set a thread priority to be very high. Even then, you likely have some limits.. as the scheduler will need to run OS maintenance threads before app threads.
@abstractapproach6343 жыл бұрын
@@davecrabbe4579 that sucks, I'm determined to learn machine code then. Send it the voltages where they need to be to make what I want happen if need be. First for my system, them for others. I'n sure there will be patterns that emerge eventually. More of a daunting task then I realized, maybe even a lifes work.......
@avvoprime11 ай бұрын
i am successfully drive my overthinking to this stuff😂
@alexrosellverges83456 жыл бұрын
Thank you very much, really good video! Now, I'd like to ask whether you could recommend me some book to learn a bit more in-depth all this knoledge you explain, maybe some books you liked would be great. Thanks again!
@davecrabbe45795 жыл бұрын
This field changes rapidly. We don't tend to use many texts at my College and so I am unsure what the current books on the topic might be.
@alexrosellverges83455 жыл бұрын
Dave Crabbe okay, thanks anyway!
@andresao3 жыл бұрын
I think this is a great explanation of Process vs Threads, but it is just a bit confusing when talks indifferently about threads ex. and processes ex.
@hangchen61316 жыл бұрын
Can one program have more than one process? Can a thread still include other threads? Thanks.
@davecrabbe45796 жыл бұрын
By definition, a process and a program tend to be synonymous. A thread is a single unit of execution. In my explanation here, only a process can spawn a thread. Software development evolves constantly and since I am not an active software developer, this is not designed to keep current with new technologies. This video is designed to explain the fundamental concepts of how an Operating System handles multi-tasking. The advanced details of threads and processes are much more complex.
@hangchen61316 жыл бұрын
Oh okay I got it now. Thank you very much for your reply sir! Your video is great in explaining how processes and threads work in terms of OS and hardware layers. I will check out your other videos too :)
@Netfox_4 жыл бұрын
Excellent explanation! Thanks You should get a patreon I'd buy you a beer.