Determine the concept of concurrency, Software Engineering

Assignment Help:

Determine the concept of Concurrency

The basic concept in computer programming is concept of handling more than one task at a time. Many programming problems need that the program should be able to: 

1) Stop what its doing 

2) Currently deal with some other problem

3) Return to the main process. There is a large class of problems in that you have to partition problem into separately running pieces so that whole program can be more responsive. Inside a program, these separately running pieces are known as threads and the general concept is termed as multithreading.

Presently, if you have more than one thread running which is expecting to access the same resource then there is a problem. To avoid this problem, a thread locks a resource afterwards completes its task and then releases lock so that someone else can use that particular resource. It may lock the memory of any object so that just one thread can use it at a time. It is significant to handle simultaneously running thread/programs properly.

 

 


Related Discussions:- Determine the concept of concurrency

State the system engineering hierarchy, State the System Engineering Hierar...

State the System Engineering Hierarchy? The world view is composed of a set of domains (Di), which can each be a system, or system of systems. WV = {D1,D2,D3,...........,Dn}

Explain about the iterative enhancement model, Iterative Enhancement Model ...

Iterative Enhancement Model This model was developed to remove disadvantages of waterfall model. In this model, phases of software development remain the same however the cons

Paradigm, which paradigm tend to correspond with top down and bottom up des...

which paradigm tend to correspond with top down and bottom up design

What is software bug, Explain Software Bug? Ans) A fault in a program wh...

Explain Software Bug? Ans) A fault in a program which origins the program to perform in an unintended or unanticipated manner.

What are the properties of the software, What are the properties of the sof...

What are the properties of the software? Software is engineered, not manufactured. Software is free of wear out. Most software is built as required rather than being asse

Design a digital system to produce a pwm , Task You have to design a d...

Task You have to design a digital system to produce a PWM signal that produces pulses at a frequency in the range 50 Hz -100 Hz . The pulses will be between 1 ms and 2 ms du

Operation of the clue-less system, A player with an active turn must make a...

A player with an active turn must make a valid move with their character or pass their turn. As a first move in the game, the player can move to the hallway that is adjacent to the

How can manager be used to handle exceptions in QTP, How can recovery scena...

How can recovery scenario manager be used to handle exceptions in QTP? QTP provides a wizard through Recovery Scenario Manger which can recover unexpected errors and events wh

Transaction mapping, how transaction mapping is done.??clear me with a brie...

how transaction mapping is done.??clear me with a brief example

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd