answersLogoWhite

0

A multithreaded program is one that has multiple threads in execution. They may execute parallel to one another or totally without relation to one another.

In Java you can create multithreaded programs using Java threads.

User Avatar

Wiki User

14y ago

What else can I help you with?

Related Questions

What do you mean by multithread program in java?

A Program in Java that spawns multiple threads is called a multithreaded program in Java.


What components of program state are shared across threads in a multithreaded process?

Obviously Heap Memory


Why java called as multithreaded programming?

Java is called multithreaded because it allows the programmer to define multiple threads of execution manually. The main program would continue to execute as one thread and we can speed up the processing by declaring individual threads. Threads in Java can be created in two ways: 1. By extending the Thread class & 2. By implementing the Runnable interface


In a multithreaded environment a is defined as the unit of resource allocation and a unit of protection?

In a multithreaded environment, a mutex (mutual exclusion) is used as the unit of resource allocation and a unit of protection. It ensures that only one thread can access a shared resource at any given time, preventing race conditions and data corruption. This synchronization mechanism helps maintain data integrity and consistency in a concurrent program.


Which of the following components of program state are shared across threads in a multithreaded process a.Register values b.Heap memory c.Global variables d.Stack memory?

Yes but there is not enough time or enough space here for a full justification of the answer


What is multithreaded operating system?

lMultithreading an interactive application may allow a program to continue running even if part of it is blocked. For instance, a multithreaded web browser could still allow user interaction in one thread while an image was being loaded in another thread.


What is the difference between single threaded and multi threaded process?

A write-up of the answer to this question can be found here:http://msdn.microsoft.com/en-us/library/ms693344(VS.85).aspx"There are two types of apartments: single-threaded apartments, and multithreaded apartments. * Single-threaded Apartments-Single-threaded apartments consist of exactly one thread, so all COM objects that live in a single-threaded apartment can receive method calls only from the one thread that belongs to that apartment. All method calls to a COM object in a single-threaded apartment are synchronized with the windows message queue for the single-threaded apartment's thread. A process with a single thread of execution is simply a special case of this model.* Multithreaded Apartments-Multithreaded apartments consist of one or more threads, so all COM objects that live in an multithreaded apartment can receive method calls directly from any of the threads that belong to the multithreaded apartment. Threads in a multithreaded apartment use a model called free-threading. Calls to COM objects in a multithreaded apartment are synchronized by the objects themselves."


Which type of processor is designed to let the operating system divide the work over more than one processsor?

multithreaded


What does a short line in front of the word program mean---- program?

blank program


When you get the message this program is not responding what does that mean and what causes it to do that?

the program is not working


What does load a program mean?

Installing the program to your hard drive


What does it mean good program?

no