소스 검색

Mention Pool in thread-safety discussion.

Gary Burd 12 년 전
부모
커밋
7fffb50f5d
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      redis/doc.go

+ 3 - 0
redis/doc.go

@@ -90,6 +90,9 @@
 // with Send, Flush, Receive or Do. Unless stated otherwise, all other
 // concurrent access is allowed.
 //
+// For full concurrent access to Redis, use the thread-safe Pool to get and
+// release connections from within a goroutine.
+//
 // Publish and Subscribe
 //
 // Use the Send, Flush and Receive methods to implement Pub/Sub subscribers.