chan/

directory
v0.0.0-...-ce13bd1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 6, 2023 License: MIT

README

channel

_Gidle 刚刚被分配并且还没有被初始化 _Grunnable 没有执行代码,没有栈的所有权,存储在运行队列中 _Grunning 可以执行代码,拥有栈的所有权,被赋予了内核线程 M 和处理器 P _Gsyscall 正在执行系统调用,拥有栈的所有权,没有执行用户代码,被赋予了内核线程 M 但是不在运行队列上 _Gwaiting 由于运行时而被阻塞,没有执行用户代码并且不在运行队列上,但是可能存在于 Channel 的等待队列上 _Gdead 没有被使用,没有执行代码,可能有分配的栈 _Gcopystack 栈正在被拷贝,没有执行代码,不在运行队列上 _Gpreempted 由于抢占而被阻塞,没有执行用户代码并且不在运行队列上,等待唤醒 _Gscan GC 正在扫描栈空间,没有执行代码,可以与其他状态同时存在

Directories

Path Synopsis
selectchan
v1 command
v2 command
v3 command
timer
timeout/v1 command
timeout/v2 command
v1 command

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL