O'Reilly logo

PowerBuilder® 9: Internet and Distributed Application Development by John D. Olson, Bill Green

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

What Is Multithreading?

Before looking at why we would create a multithreaded application, let me first define what multithreading is. A conventional definition of multithreading is the ability of an operating system to execute different parts of a program, called threads, simultaneously. This may sound similar to multitasking so it's important to make clear the distinction. Multitasking is the ability of an operating system to execute more than one program at a time. Each program has its own memory space, with its own stack, heap, and set of variables. An example of this is when you have your Web browser open and then launch a word processing program. Multithreading, on the other hand, is the ability of the operating system to execute different ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required