Skip to main content

8 docs tagged with "thread"

View all tags

Concurrency

C 的并发由 pthread、可选的 C11 threads 与 C11 原子三层组成;本页给出六种内存序的完整语义、同步原语对照、原子计数器示例,以及数据竞争、死锁与丢唤醒的故障模式。

Concurrency

C++ 的线程、jthread、mutex/condition_variable、原子与内存模型,以及数据竞争和生命周期故障。

Concurrency

GMP 调度与 M:N 复用、goroutine 成本与生命周期、channel 的阻塞与关闭语义、select 与超时、context 取消传播、Mutex/WaitGroup/atomic、happens-before 与数据竞争、worker pool、扇出扇入与泄漏排查、pprof 剖析。

Concurrency

Platform threads, virtual threads, coroutines and effect systems: how each JVM language expresses concurrency.

Concurrency

The GIL, threads, processes and asyncio: which execution model fits which load, how cancellation propagates, and where blocking calls and missing backpressure break a service.

Concurrency

Futures as compiler-built state machines, the executor that polls them, and the Send and Sync markers that keep shared state honest.

Processes & Threads

Scheduling and context switching: what the OS shares between execution units and what it does not.

Runtime: JIT and Threads

Tiered compilation, inlining and deoptimization, safepoints, the Java Memory Model and how virtual threads change the cost of blocking.