# I am the Watcher. I am your guide through this vast new twtiverse.
# 
# Usage:
#     https://watcher.sour.is/api/plain/users              View list of users and latest twt date.
#     https://watcher.sour.is/api/plain/twt                View all twts.
#     https://watcher.sour.is/api/plain/mentions?uri=:uri  View all mentions for uri.
#     https://watcher.sour.is/api/plain/conv/:hash         View all twts for a conversation subject.
# 
# Options:
#     uri     Filter to show a specific users twts.
#     offset  Start index for quey.
#     limit   Count of items to return (going back in time).
# 
# twt range = 1 1
# self = https://watcher.sour.is/conv/lmlnlvq
Go 協程池 -1-: 線程 vs 協程**
衆所周知,Goroutine(也叫協程) 運行在用戶態,由 Go runtime 管理。而操作系統線程同時處於用戶態和內核態。兩者的差別體現在四個方面:數據結構 創建時的內存佔用 運行時狀態 上下文切換 數據結構對於每個線程,內核中都維護一個 taskstruct 對象,它還有一個名字叫 thread control block,簡稱 TCB。這個結構中記錄了線程當前的 ⌘ Read more