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

When we need re-engineer, Q. When we need Re-Engineer? When the sys...

Q. When we need Re-Engineer? When the system changes are mainly confined to part of the system then re-engineer that part. When hardware or else software support become

Cohesion, Cohesion for Each Module? Compute average daily temperatures at v...

Cohesion for Each Module? Compute average daily temperatures at various sites Initialize sums and open files Create new temperature record Store temperature record Close files and

What are the guidelines for data design, What are the guidelines for data d...

What are the guidelines for data design? i. Use systematic analysis on data. ii. Find data structures and related operations. iii. Prepare data dictionary. iv. Use inf

Preventive and protective strategies in Cyber Secur, After users are authe...

After users are authenticated, what measures can be employed in order to maintain security when users are away from their computers? 2. Discuss ways in which the use of strong au

Describe the formal software process model, Question 1: (a) Describe t...

Question 1: (a) Describe the Formal Software Process Model. (b) What are the main strengths of the Formal Software Process Model ? (c) Why is the Software Process Mode

How print statements used in software testing, Q. How Print statements used...

Q. How Print statements used in Software testing? Print statements:-The standard print statement in the language being utilized is sprinkled throughout the program to output va

Design and implementation constraints, The Clue-Less system shall operate w...

The Clue-Less system shall operate with the following Web browsers: Microsoft Internet Explorer, Mozilla Firefox, Google Chrome, and Safari. OE-2: The Clue-Less system shall

State the term- code coverage, State the term- Code Coverage This is a...

State the term- Code Coverage This is an analysis method that determines which parts of software have already been covered by test case suite and which are remaining.

C++, how to save image of a dialog box by using c++

how to save image of a dialog box by using c++

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