# 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/l5srruq
Go 讀寫鎖底層是怎麼實現的**
「答案」(自由)------------讀寫鎖的底層是基於互斥鎖實現的。爲什麼有讀寫鎖,它解決了什麼問題?(使用場景) 它的底層原理是什麼? 在這裏我會結合 Go 中的讀寫鎖 RWMutex 進行介紹。我們通過與 Mutex 對比得出答案。Mutex 是不區分 goroutine 對共享資源的操作行爲的,在讀操作、它會上鎖,在寫操作,它也會上鎖,當一段時間內,讀操作居多時,讀操作在 M ⌘ Read more