0

在我的应用程序中,主屏幕上有 20 个图标(位图字段)当我单击任何图标时,会在单独的线程中发出 HTTP 请求。

我在必要时使用了稍后调用方法来处理多线程问题。

但是线程数仍然超过 16 并且弹出错误指示线程过多错误并且需要重新启动应用程序!

谁能告诉我当它们不再使用时如何销毁这些线程。我不明白他们为什么不像往常那样自行破坏。

4

1 回答 1

0
I tried to go ahead with active count of thread
If that count exceeds beyond the limit set by me then i queue up the request 

然后稍后再发送。

but this delays the response.

I had no other option other than this

Thanks for help!!!!!!!
于 2010-06-10T05:38:52.283 回答