# 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/ojmi7fa
深入理解 golang 的互斥鎖**
在開始之前,我們需要知道鎖實現的幾種方式。信號量 操作系統中有 P 和 V 操作。P 操作是將信號量值減去 1,V 操作是將信號量值增加 1. 因此信號量的操作模式爲:初始化,給它一個非負整數值。 在程序試圖進入臨界區之前需要先運行 P 操作,然後會有兩種情況。 當信號量 S 減少到負值時,該過程將被阻止並且無法繼續。這個時候,進程會被阻塞。 當信號量 S 不爲負時,進程可以進入 ⌘ Read more