]> Sergey Matveev's repositories - btrtrc.git/commit
Remove sync.Cond from piece
authorMatt Joiner <anacrolix@gmail.com>
Thu, 5 Nov 2015 13:40:16 +0000 (00:40 +1100)
committerMatt Joiner <anacrolix@gmail.com>
Thu, 5 Nov 2015 13:40:16 +0000 (00:40 +1100)
commitd01c6221e652881a2becd85b835f0d444602a8d8
treeaf216111521be700b390b3b2a8481a22dc0e65bf
parentc7f9bfccc156f9e3385bde07b354452118f5e58f
Remove sync.Cond from piece

It's not trivial to ensure that anyone waiting on the piece Cond will wake on events like the torrent being dropped from the client.
client.go
client_test.go
piece.go
reader.go
t.go
torrent.go