【发布时间】:2013-12-22 06:45:28
【问题描述】:
在线程的run()方法中,之前我有这段代码sn-p:
updateConversationHandler.post(new updateUIThread(read,write,this.clientSocket,input,out));
它曾经工作过。但是当我使用 Executors 调用它时,它失败了:
executor = Executors.newFixedThreadPool(5);
executor.execute(new updateUIThread(read,write,this.clientSocket,input,out));
上面的代码没有响应。
有什么建议吗??
【问题讨论】:
标签: android threadpool executor