Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member
You already know that your operating system can run multiple programs at the same time. This is what's typically called multitasking, but there is also this idea of doing multiple things inside one program and this is multithreading. Now, multithreading is something you often do to keep your program responsive, and particularly in desktop or mobile applications with a graphical user interface. we've all interacted with programs where you click a button and it seems to make the application freeze and then a few seconds later come back.
Well, multithreading is designed to get you past that. By default, your program has what's referred to as a main thread of execution. All your code runs on one thread, one conveyor belt that's taking care of instruction after instruction. With multithreading, you might for example call a function, but instead of calling it normally, which means jumping into that function on the main thread, you call it and tell it to start on another thread, a custom thread, and your main thread continues processing while the secondary thread has another thing to do.
Get unlimited access to all courses for just $25/month.Become a member
82 Video lessons · 101977 Viewers
61 Video lessons · 88693 Viewers
71 Video lessons · 72509 Viewers
56 Video lessons · 104183 Viewers
Access exercise files from a button right under the course name.
Search within course videos and transcripts, and jump right to the results.
Remove icons showing you already watched videos if you want to start over.
Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.
Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.
Your file was successfully uploaded.