Structured concurrency
Programming paradigm aimed at improving programming via a structured approach to concurrent programming
Structured concurrency is a programming paradigm aimed at improving the clarity, quality, and development time of a computer program by using a structured approach to concurrent programming. The core concept is the encapsulation of concurrent threads of execution (here encompassing kernel and userland threads and processes) by way of control flow constructs that have clear entry and exit points and that ensure all spawned threads have completed before exit.
Nº Q85803803 ★
Common · Knowledge
Structured concurrency
Programming paradigm aimed at improving programming via a structured approach to concurrent programming
Structured concurrency is a programming paradigm aimed at improving the clarity, quality, and development time of a computer program by using a structured approach to concurrent programming. The core concept is the encapsulation of concurrent threads of execution (here encompassing kernel and userland threads and processes) by way of control flow constructs that have clear entry and exit points and that ensure all spawned threads have completed before exit.
From Wikipedia
Structured concurrency is a programming paradigm aimed at improving the clarity, quality, and development time of a computer program by using a structured approach to concurrent programming. The core concept is the encapsulation of concurrent threads of execution (here encompassing kernel and userland threads and processes) by way of control flow constructs that have clear entry and exit points and that ensure all spawned threads have completed before exit. Such encapsulation allows errors in concurrent threads to be propagated to the control structure's parent scope and managed by the native error handling mechanisms of each particular computer language. It allows control flow to remain readily evident by the structure of the source code despite the presence of concurrency. To be effective, this model must be applied consistently throughout all levels of the program – otherwise concurrent threads may leak out, become orphaned, or fail to have runtime errors correctly propagated. Structured concurrency is analogous to structured programming, which uses control flow constructs that encapsulate sequential statements and subroutines.
Text: Wikipédia, CC BY-SA 4.0. ·
Related cards
-
C
Concurrent computing
Form of computing in which several computations logically execute during overlapping time periods
Nº Q128392 ★★
Not listed
-
C
Concurrent logic programming
Logic programming paradigm
Nº Q17008825 ★
Not listed
-
Thread pool
A method for efficient parallel processing in computer programs (pre-creating threads and reusing them as tasks occur, reducing overhead of thread creation and destruction, improving system performance, and optimizing resource management)
Nº Q3990847 ★
Not listed
-
C
Concurrent user
User accessing a system or resource at the same time as another
Nº Q1124352 ★
Not listed
-
P
Pthreads
Execution model which allows for parallel computing
Nº Q928112 ★
Not listed
-
A
Async/await
A syntactic feature of programming languages that allows for asynchronous, concurrent programming
Nº Q16245951 ★
Not listed