Add mutex logging

This commit is contained in:
Audrius Butkevicius
2015-04-22 23:54:31 +01:00
parent 9ee3541655
commit 433b923ea7
31 changed files with 277 additions and 78 deletions

View File

@@ -7,11 +7,11 @@
package main
import (
"sync"
"time"
"github.com/syncthing/syncthing/internal/events"
"github.com/syncthing/syncthing/internal/model"
"github.com/syncthing/syncthing/internal/sync"
"github.com/thejerf/suture"
)
@@ -37,6 +37,7 @@ func (c *folderSummarySvc) Serve() {
c.stop = make(chan struct{})
c.folders = make(map[string]struct{})
c.srv = srv
c.foldersMut = sync.NewMutex()
srv.Serve()
}