Introduction to Multithread Programming


show more Multithreading is essentially multi-tasking developers use to not only make programs more effective but also to prevent applications from crashing. The Introduction to Multithreading video, as part of the Foundations of Programming course, covers the basics of multi-threading, when and how to use it, and challenges inherent with multithreading, including the lack of available resources. Watch this Lynda.com JavaScript tutorial to learn how to use multithreading to make programs responsive. show less
please wait ...

Introduction to multithreading

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...

Introduction to multithreading
Video duration: 2m 1s 4h 47m Beginner

Viewers:

Multithreading is essentially multi-tasking developers use to not only make programs more effective but also to prevent applications from crashing. The Introduction to Multithreading video, as part of the Foundations of Programming course, covers the basics of multi-threading, when and how to use it, and challenges inherent with multithreading, including the lack of available resources. Watch this Lynda.com JavaScript tutorial to learn how to use multithreading to make programs responsive.

Subjects:
Developer Web
Author:
please wait ...