# 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/v75zneq
Go 協程池 -2-: 如何實現協程池**
線程池的出現,是因爲頻繁地創建和銷燬線程開銷比較大。通過線程池,一個線程不僅僅是處理一個任務就被銷燬,而是可以處理多個任務,任務被處理完時才被銷燬。下圖是 Java ExecutorService 類的結構:Java ExecutorService協程池的作用是一樣的,實現原理當然也一樣。一個協程池的數據結構,在邏輯上必須 3 類數據:協程池的容量 task pool 任務池 work ⌘ Read more