Gio*_*gio 4 multithreading android background
有没有办法知道 Android 应用程序中当前在后台运行的所有线程?
谢谢!!
cwi*_*win 6
用户界面默认在单线程中运行!
Map<Thread, StackTraceElement[]> myMap = Thread.getAllStackTraces();
该映射还包含在此应用程序中运行的系统线程,例如垃圾收集。
归档时间:
15 年,10 月 前
查看次数:
3903 次
最近记录:
14 年,9 月 前