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

What is reverse engineering, Q. What is reverse engineering? Ans. It ...

Q. What is reverse engineering? Ans. It is a method of analysing software with a view to understanding its design and specification. - In source code, reverse engineering

Advantages and disadvantages of size measure, What are the advantages and d...

What are the advantages and disadvantages of size measure? Advantages: Artifact of software development which is simply counted. Many existing methods use LOC as a key input. A

Applied physics, an isolated metal sphere has a radius r. when charged to a...

an isolated metal sphere has a radius r. when charged to a potential v, the charge on sphere is q. 1- state an expression, in terms of r and q, for potential v of sphere.

What is coverage analysis, What is Coverage analysis? Determining and as...

What is Coverage analysis? Determining and assessing calculated associated with the invocation of program structural elements to verify the adequacy of a test run. Coverage anal

Define fan-in and fan-out, Define Fan-in & Fan-out. Fan-out - A measure...

Define Fan-in & Fan-out. Fan-out - A measure of the number of modules that are directly controlled by another module. Fan-in-  Shows how many modules directly control a give

What is pure and impure interpreter, what is interpreter explain pure and i...

what is interpreter explain pure and impure interpretion

What are the profits of vertical partitioning, What are the profits of vert...

What are the profits of vertical partitioning? i. These are very easy to maintain changes. ii. They decreased the change impact and error propagation.

How can we re-engineering of any product, How can we re-engineering of any ...

How can we re-engineering of any product One additional difficulty in adopting this approach is large investment which exists in software system maintenance. It requires additi

Library housekeeping software, Library Housekeeping Software: The mark...

Library Housekeeping Software: The market is flooded with a variety of packages specially designed to support library housekeeping operations such as acquisitions, cataloguing

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