PTHREAD_POOL_SIZE was made to accept arbitrary JS expressions back in #10263, but not documented.
I feel it's important to call out in docs that you can use navigator.hardwareConcurrency in that context as that's, arguably, one of the most useful values for multi-threaded apps.
PTHREAD_POOL_SIZEwas made to accept arbitrary JS expressions back in #10263, but not documented.I feel it's important to call out in docs that you can use
navigator.hardwareConcurrencyin that context as that's, arguably, one of the most useful values for multi-threaded apps.