Posted in

Go channel关闭后仍能接收?从hchan结构体、recvq阻塞队列清理时机到select default分支竞争条件的汇编级解析

第一章:Go channel关闭 … Go channel关闭后仍能接收?从hchan结构体、recvq阻塞队列清理时机到select default分支竞争条件的汇编级解析Read more

Posted in

Golang channel select超时分支永远不执行?揭秘编译器优化下select case reordering导致的超时逻辑坍塌

第一章:Golang chann … Golang channel select超时分支永远不执行?揭秘编译器优化下select case reordering导致的超时逻辑坍塌Read more

Posted in

Golang channel超时等待的3种写法性能对比:select+time.After vs time.Timer vs ticker,基准测试数据全公开

第一章:Golang chann … Golang channel超时等待的3种写法性能对比:select+time.After vs time.Timer vs ticker,基准测试数据全公开Read more