3 ms·
if([_blocks count] < idleThreads && _threadCount < _threadCountLimit) { Shouldn't that be > idleThreads?
by twoodfin 11y ago
if([_blocks count] < idleThreads && _threadCount < _threadCountLimit) {
Shouldn't that be > idleThreads?
- mikeash 11y agoYes indeed! Oddly in the code on GitHub it's correct. I'm not sure how the mismatch happened. I corrected it in the article as well. Thanks for pointing that out.
- amelius 11y agoPerhaps a problem with substituting the correct HTML entities :)
- mikeash 11y agoI used to have a lot of problems with that, due to my crappy home-grown blog software, but it's pretty solid now. I think what may have happened is I had it backwards in the code originally, noticed the problem when pasting the code into the article, then fixed the code but forgot to fix the article. Maybe. It was late and beer was involved.