Critical section
Protected section of code that cannot be executed by more than one process at a time
In concurrent programming, concurrent accesses to shared resources can lead to unexpected or erroneous behavior. Thus, the parts of the program where the shared resource is accessed need to be protected in ways that avoid the concurrent access. One way to do so is known as a critical section or critical region.
Nº Q1046373 ★
Common · Knowledge
Critical section
Protected section of code that cannot be executed by more than one process at a time
In concurrent programming, concurrent accesses to shared resources can lead to unexpected or erroneous behavior. Thus, the parts of the program where the shared resource is accessed need to be protected in ways that avoid the concurrent access. One way to do so is known as a critical section or critical region.
Last price
—
Floor price
—
7-day median
—
30-day sales
0
30-day range
—
In circulation
0
Price history
median
low – high
sales
No sales in this period
Show table
| Date | median | Low | High | sales |
|---|
Sales history
- Last sale
- —
- 30-day average
- —
- 30-day low
- —
- 30-day high
- —
- Sales 7d
- 0
- Sales 30d
- 0
No sales yet.
Anonymous sales: no buyer or seller shown. Figures count player-to-player sales only.
From Wikipedia
In concurrent programming, concurrent accesses to shared resources can lead to unexpected or erroneous behavior. Thus, the parts of the program where the shared resource is accessed need to be protected in ways that avoid the concurrent access. One way to do so is known as a critical section or critical region. This protected section cannot be entered by more than one process or thread at a time; others are suspended until the first leaves the critical section. Typically, the critical section accesses a shared resource, such as a data structure, peripheral device, or network connection, that would not operate correctly in the context of multiple concurrent accesses.
Text: Wikipédia, CC BY-SA 4.0. ·
Related cards
Thread (computing)
Smallest sequence of programmed instructions that can be managed independently by a scheduler
Nº Q213092 ★★★
Race condition
Situation in computer system that occurs when multiple processes try to access a common resource
Nº Q616554 ★★
Instruction cycle
Basic operation cycle of a computer
Nº Q814190 ★★
Instructions per cycle
Measure of processing speed: the average number of instructions executed for each clock cycle
Nº Q1443434 ★
Criticism
Practice of examining and evaluating the merits, faults, problems, or validity of something or someone
Nº Q17955 ★★★
Circular segment
Slice of a circle cut perpendicular to the radius
Nº Q783081 ★★★★