diff options
Diffstat (limited to 'sort.go')
| -rw-r--r-- | sort.go | 12 |
1 files changed, 5 insertions, 7 deletions
@@ -21,14 +21,12 @@ func (pb *Files) makeNewSortfile(pf *File) error { header(wSort, pf) header(wFind, pf) - if !argv.Mutex { - pf.syncLock(wSort) - } + pf.syncLock(wSort) - if argv.Mutex { - // use the mutex lock from the modified protoc.pb.go file - pf.Bases.Lockname = "all.Lock" - } + // if argv.Mutex { + // // use the mutex lock from the modified protoc.pb.go file + // pf.Bases.Lockname = "all.Lock" + // } pf.Base.iterTop(wSort) pf.Base.iterNext(wSort) |
