#concurrency

  • Race Conditions In Go
    A Go race condition is shared state whose result depends on unsynchronized interleaving; a data race is the memory-access case, and the usual fixes are a small mutex, an atomic, or a single owner behind a channel, checked with go test -race.
  • Structured Concurrency In Java
    Why ExecutorService fan-out leaks threads and waits too long, and how StructuredTaskScope models subtasks as one unit: fork, join and close, joiner policies, timeout semantics, interrupt-based cancellation, JSON thread dumps, and the JDK 27 preview / JDK 28 final status.
  • Concurrency Parallelism And Multithreading
    Clarifies concurrency, parallelism, asynchronous execution, and multithreading, and explains why event-loop async beats threads for I/O-bound work.