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

Software testing, 1. Answer the following questions for the method search()...

1. Answer the following questions for the method search() below: public static int search (List list, Object element) // Effects: if list or element is null throw NullPointerExcept

What are the controlling events between objects, What are the Controlling E...

What are the Controlling Events Between Objects Event is the specification of a important occurrence which has a location in time and space. Examples of events are flight l

How is cyclomatic complexity useful in program test, How is cyclomatic comp...

How is cyclomatic complexity useful in program test? Cyclomatic complexity calculates the amount of decision logic in a single software module. It is used for two related purpo

Draw an appropriate use-case model, This case-study describes the requireme...

This case-study describes the requirements of an airline travel agency who want to develop a website to allow customers to make online bookings. The outline requirements are descri

Give the procedure of the delphi method, Give the procedure of the Delphi m...

Give the procedure of the Delphi method. 1. The co-ordinator shows a specification and estimation form to each expert. 2. Co-ordinator calls a group meeting in which the exp

Define software testing, Define software testing? Software testing is a...

Define software testing? Software testing is a critical element of software quality assurance and shows the ultimate review of specification, design, and coding.

Explain process and product quality, Explain Process and product quality ...

Explain Process and product quality The quality of a developed product is influenced by the quality of the production process. This is important in software development as some

Why winrunner may fail to identify an object on a gui, Why WinRunner may fa...

Why WinRunner may fail to identify an object on a GUI? WinRunner may fail to recognize an object in a GUI in below cases: - If it isn't a standard windows object - If the

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

Activity and use case diagram, The Application You should develop your p...

The Application You should develop your program using incremental development. Develop your program a little bit at a time and keep testing it. Save a working version before mak

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