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

(empty) use of thread::spawn is confusing #22

Open
badboy opened this issue Nov 23, 2019 · 0 comments
Open

(empty) use of thread::spawn is confusing #22

badboy opened this issue Nov 23, 2019 · 0 comments

Comments

@badboy
Copy link
Contributor

badboy commented Nov 23, 2019

thread::spawn is used with an empty block of code, but never used again afterwards.
The short multithreading chapter is not really introducing multithreading, but just there to find the sleep function.

This should be renamed and reworded to avoid the unused spawn

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

No branches or pull requests

1 participant