update lock && normal
This commit is contained in:
1 parent
1e39d020ed
commit
489e31b07a
2 files changed
+5
-3
No files matched your search
@@ -35,7 +35,9 @@ type common struct {
|
||||
//
|
||||
// Date : 21:25 2023/12/24
|
||||
func (c *common) initLock() {
|
||||
c.lock = &sync.RWMutex{}
|
||||
if c.dataTableType == normalDataTableType {
|
||||
c.lock = &sync.RWMutex{}
|
||||
}
|
||||
}
|
||||
|
||||
// Lock ...
|
||||
|
||||