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

Limit thread upper bound #24

Open
hongxuchen opened this issue Feb 14, 2019 · 0 comments
Open

Limit thread upper bound #24

hongxuchen opened this issue Feb 14, 2019 · 0 comments

Comments

@hongxuchen
Copy link

We can specify the thread number to be applied with -n. However there is no upper bound limit for it. If the value is huge, lbzip2 will report unable to create a POSIX thread: Resource temporarily unavailable and hang there.

We think it's reasonable to have some upper bound check for the thread number.

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