Skip to content

func (s *ISCSITargetDriver) handler should consider goroutine safety issue  #43

@orzhang

Description

@orzhang

goroutine use number of CPU to run as simultaneously.
However, we didn't consider the thread safe issue.
We should simply use 1 CPU to dispatch the gorutine to avoid this issue and then use channel and mutex to enhance it.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions