Any way to check how many blocks are running on a concurrent queue?
I want to limit running blocks in a concurrent queue, and add a new block only if this number is lower i.e. 3. Any way to do it?
The reason I read here, that maximum number of threads is 64. Above it app will freeze.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…