Home
Sign Up
Sign In
• 请不要在回答技术问题时复制粘贴 AI 生成的内容
V2EX
›
程序员
go channel 中 recvq 和 sendq 有两个字段, first 和 last 作用是什么呢?
xmge
·
Feb 28, 2021
· 2349 views
This topic created in 2083 days ago, the information mentioned may be changed or developed.
https://imgtu.com/i/69wpWD
作用是什么呢?是为了在调度过程中如果很长时间没有轮到 last,则优先执行 last 吗?
顺便问下,在 v 站如何上传图片呢?
Last
sendq
recvq
channel
3 replies
EasonC
Feb 28, 2021 via iPhone
1
V 站上传图片和使用别的图床用链接分享时貌似要验证手机号,我之前直接粘贴图床链接,发布提示要验证手机号才行,删了图床链接就能顺利发布了
bokchoys
Feb 28, 2021
2
v 站用 Markdown 格式编辑
joyme
Feb 28, 2021
3
go channel 是用的循环队列吧。first 和 last 用来标识循环队列的首尾
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Privacy
·
Solana
·
2404 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 28ms ·
UTC 12:36
·
PVG 20:36
·
LAX 04:36
·
JFK 07:36
♥ Do have faith in what you're doing.
❯