Skip to content

Why is the pkgOperationsMutex a sync.Mutex instead of a sync.RWMutex? #180

@tanght1994

Description

@tanght1994

The var pkgOperationsMutex in the log.go, Use sync.RWMutex to replace the sync.Mutex can Improve the performance
1
.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions