# 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/xz6vkiq
一文搞懂啥是信號量 Semaphore?**
信號量是併發編程中常見的同步機制,在標準庫的併發原語中使用頻繁,比如 Mutex、WaitGroup 等,這些併發原語的實現都有信號量的影子,所以我們很有必要學好弄清楚信號量的實現原理,做到 “知其然,更要知其所以然”,我們纔能有更多的“武器” 去應對實際面臨的業務場景問題。 今天我們就來搞定信號量,通過這篇文章你能掌握:信號量是什麼?都有什麼操作? Go 官方是如何實現信號量的? ⌘ Read more