Structured concurrency
This article is a stub. You can help EverybodyWiki by expanding it. |
Structured concurrency is the principle that a concurrently executing function (such as a thread or coroutine) must not outlive its parent. If thread A spawns thread B, then thread B must exit and be cleaned up by thread A before thread A may itself exit.[1][2] Adherence to this principle assists with reasoning about concurrent control flow and resource utilisation, similar to how structured programming assists with such reasoning with regard to a single thread.
References[edit]
- ↑ http://libdill.org/structured-concurrency.html libdill: Structured Concurrency for C
- ↑ http://250bpm.com/blog:71 Structured Concurrency
This article "Structured concurrency" is from Wikipedia. The list of its authors can be seen in its historical and/or the page Edithistory:Structured concurrency. Articles copied from Draft Namespace on Wikipedia could be seen on the Draft Namespace of Wikipedia and not main one.
This page exists already on Wikipedia. |