How many blocks are running on a queue?

余生长醉 提交于 2019-12-18 09:25:50

问题


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.

来源:https://stackoverflow.com/questions/29731285/how-many-blocks-are-running-on-a-queue

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!