Concurrency - Starvation

> (Data|State) Management and Processing > (Concurrency|Parallel|Asynchronous) programming

1 - About

Starvation is a forms of thread contention.

Starvation describes a situation where a thread is unable to gain regular access to shared resources and is unable to make progress.

This happens when shared resources are made unavailable for long periods by “greedy” threads.

Advertising

3 - Example

Suppose:

If one thread invokes this method frequently, other threads that also need frequent synchronized access to the same object will often be blocked.

4 - Documentation / Reference

data/concurrency/starvation.txt · Last modified: 2017/10/27 15:54 by gerardnico