Merge pull request #14605 from brahmaroutu/gccgo_scheduler

Go Scheduler issue with sync.Mutex
This commit is contained in:
David Calavera 2015-07-17 08:16:32 -07:00
commit 13a2948dc8
4 changed files with 21 additions and 1 deletions

View file

@ -189,6 +189,7 @@ func (r *bufReader) drain() {
reuseCount++
r.wait.Signal()
r.Unlock()
callSchedulerIfNecessary()
if err != nil {
break
}