Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
orzhang opened this issue Dec 11, 2016 · 0 comments

Comments

@orzhang
Copy link
Contributor

orzhang commented Dec 11, 2016

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant