Skip to content

Commit f2ee595

Browse files
authored
Merge pull request davyxu#103 from SmileFisher/master
pipe.go中wait() 后加锁问题
2 parents 2e653c1 + c693e00 commit f2ee595

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

pipe.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@ func (self *Pipe) Pick(retList *[]interface{}) (exit bool) {
4141
self.listCond.Wait()
4242
}
4343

44-
self.listGuard.Unlock()
44+
// self.listGuard.Unlock()
4545

46-
self.listGuard.Lock()
46+
// self.listGuard.Lock()
4747

4848
// 复制出队列
4949

0 commit comments

Comments
 (0)