# 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/qk5hhqa
用 Go 語言講解死鎖、活鎖、飢餓、自旋鎖**
死鎖\\-\\- 指兩個或多個進程因互相持有對方所需的資源而處於等待狀態,從而導致程序停止運行的現象。簡單來說,在一個系統中,如果進程之間形成了一個循環依賴關係,那麼就會發生死鎖。 💡 本文所有代碼實現語言爲 Go, 其他語言的讀者可以使用讀僞代碼的思路來閱讀代碼,主要目的在於理清邏輯主幹,不必過度陷入細節。四個必要條件互斥: 同一時刻只能有一個進程佔用資源,如果其他進程想要訪問該資源必須等待 ⌘ Read more