# structured-concurrency
2 posts
Java 21 — Structured Concurrency
Understand Java's Structured Concurrency API — StructuredTaskScope, ShutdownOnFailure, ShutdownOnSuccess, and how it prevents thread leaks in concurrent code.
Java
Kotlin Coroutines — Part 2: Structured Concurrency
How structured concurrency keeps your coroutines under control — scopes, cancellation, exception handling, and the parent-child relationship that prevents orphan coroutines.
Kotlin