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

Playing on repeat may stop unexpectedly #3

Open
jonasrmichel opened this issue Sep 15, 2020 · 0 comments
Open

Playing on repeat may stop unexpectedly #3

jonasrmichel opened this issue Sep 15, 2020 · 0 comments

Comments

@jonasrmichel
Copy link
Owner

The thread::park function is used to block the main thread indefinitely for play on repeat. However, per the thread::park documentation, this function may not actually block indefinitely...

A call to park does not guarantee that the thread will remain parked forever, and callers should be prepared for this possibility.

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