answersLogoWhite

0

Any kind of sequential program is not a good candidate to be threaded. An example

of this is a program that calculates an individual tax return. (2) Another example is a

"shell" program such as the C-shell or Korn shell. Such a program must closely

monitor its own working space such as open files, environment variables, and

current working directory.

User Avatar

Wiki User

12y ago

What else can I help you with?

Continue Learning about Engineering

Could you give three Programming examples in which multithreading does not provide better performance than a single-threaded solution?

* More than one thread doing I/O on the same device (on an I/O bound task)* More than one thread using the same data that must be locked


Can black steel pipe be threaded?

Black steel depending on schedule can be threaded from 1/8" - 8" Personally I threaded up to 6"


What all the skills in core java?

What skills do you need to become a good Java programmer?A good grounding in object-oriented theory.An understanding of the component-based programming paradigm.Understand potential emplorers' business processesServer side JDBC, socket, multi-threaded, algorithmic, and high throughput development.Be very hands on and skilled in building systems and programming frameworks from the bottom up.


Discuss features of Java Language?

# interpreted and compiled# simple # robust and secure # platform independent and portable # multithreaded and interactive# object oriented # dynamic and extensible


Why multithreaded programming is beneficial over single threaded programming?

Not having multithreading is like only having one arm and one gram of brain tissue. Multithreading is essential to computer application operation. Multithreading allows a computer to: * Distribute processing power over various applications, allowing multiple programs to run at the same time. * Allow a program to run non-essential processes in the background while the main application continues to run normally without hold-ups. * Manage timing of different events without making the process too complicated. For example, say that you have an application that does text editing and plays music. You would want to run the text editor part and the music playing part on separate threads, because otherwise, when the text editor got to a computation-intensive stage, the music would be slower, and when the text editor was idle, the music would be faster. This is also what allows the computer to run multiple applications at once. If the computer could not distribute processing power over multiple applications, then you could not run multiple instances of a text editor, or an internet browser, or really anything. Really, nothing would be possible because the system resources would monopolize the processor. In reality, this is how the processor handles threads: it goes around and devotes some time to each one, then moves on to the next. It "rounds the bases" so fast, like a cathode ray tube TV, that we don't notice the different. Duel (and triple, and quad, etc.) core processors allow one to split the applications and their corresponding threads to operate on different processors, affecting how much processing power they each receive.

Related Questions

Could you give three Programming examples in which multithreading does not provide better performance than a single-threaded solution?

* More than one thread doing I/O on the same device (on an I/O bound task)* More than one thread using the same data that must be locked


What do threads share in a multi-threaded programming environment?

In a multi-threaded programming environment, threads share the same memory space and resources of the program, allowing them to run concurrently and interact with each other.


What is the significance of atomic operations in concurrent programming?

Atomic operations are important in concurrent programming because they ensure that certain operations are executed as a single, indivisible unit. This helps prevent race conditions and ensures data integrity in multi-threaded environments.


What size GM engine has a number 3999289?

454. if it is also stamped with hi performance, it should have threaded studs for components on heads.


Is the District V2 deck threaded?

No deck is threaded it is the headset and the forks that can be threaded or threadless


What are the different types of bike cartridges available in the market and how do they differ from each other in terms of performance and compatibility?

There are two main types of bike cartridges available in the market: threaded and threadless. Threaded cartridges screw into the fork, while threadless cartridges are pressed into the fork. Threaded cartridges are typically more common and easier to install, but threadless cartridges offer better performance and compatibility with modern bike designs. Threadless cartridges also tend to be lighter and stiffer, providing a smoother ride.


Hex Nuts,?

Kanika Exports are manufactures & exporters of various types of products like- Threaded Rods/ Bars, Coil Rods/ Tie Rods , Threaded Studs, Hex Nuts, Hex Bolts, Plain Washers, Spring Washers, Spring Channel Nut,Strut Channel ,Channel Accessories ,Channel Brackets, Channel Fitting Accessories, Mild Steel Threaded Rods , Zinc Plated Threaded Rods, Steel Threaded Rods, Medium Carbon Steel Threaded Rods, Double Ended Threaded Rods, Fully Threaded Studs, Rolled threaded bars,MS thread rods and bars, UNF Threaded Rods, UNEF Threaded Rods, UNC Threaded Rods, Unified Threaded Rod


What are the features of structured programming over object oriented programming?

the features of oop are:Emphasis is on data rather than procedure.Programs are divided into what are known as objects.Data structures are designed such that they characterize the objects.Functions that operate on the data of an object are tied together in the data structure.Data is Hidden and cannot be accessed by external functions.Objects may communicate with each other through functions.New data and functions can be easily added whenever necessary.Follows bottom-up approach in program design.others are :· Robust· Multi threaded· Architecture Neutral· High Performance· Distributed· Dynamic


Can i connect threaded stainless nipple to threaded brass valve?

Yes.


Are the pedals on this bicycle reverse threaded?

No, the pedals on this bicycle are not reverse threaded.


Can black steel pipe be threaded?

Black steel depending on schedule can be threaded from 1/8" - 8" Personally I threaded up to 6"


How do you calculate the number of turns in a threaded screw?

Divide the threaded length by the lead length. For single threaded screws the lead is the same as the pitch.