From d34760a5b71d7f066ddb301a3057410aed8a2dc4 Mon Sep 17 00:00:00 2001 From: Martin Czygan Date: Sat, 31 Jul 2021 16:20:45 +0200 Subject: xio: mention lock there are other lock-free implementations, such as https://github.com/cloudfoundry/go-diodes --- skate/xio/util.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'skate') diff --git a/skate/xio/util.go b/skate/xio/util.go index 90a1012..10225a1 100644 --- a/skate/xio/util.go +++ b/skate/xio/util.go @@ -9,7 +9,7 @@ import ( "sync" ) -// SyncWriter makes any writer thread safe. +// SyncWriter makes any writer thread safe, using a lock. type SyncWriter struct { sync.Mutex w io.Writer -- cgit v1.2.3