if the threadpool is initialized with a single thread, don't bother spawning a r…
Compare changes
+ 10
− 0
@@ -90,6 +90,10 @@ void threadpool_init(struct threadpool *tp, int num_threads) {
@@ -143,6 +147,12 @@ void threadpool_init(struct threadpool *tp, int num_threads) {