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.
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 reportunable 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.