跳到主要内容

5 篇文档带有标签「facet:concurrency」

查看所有标签

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

同一个线程上交错推进任务与真正并行是两件不同的事:事件循环的阶段与队列决定执行顺序,Worker、子进程、共享内存与背压决定能否把 CPU 工作搬出主线程。

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.