Android 主线程 - 是否与其他应用共享
Android main thread - is it shared with other apps
假设我们同时打开了两个应用程序(比如三星如何拆分屏幕并允许两个应用程序同时 运行)。这两个应用程序共享主线程吗?我的问题真的是每个打开的应用程序都有自己的主线程吗?还是他们共享一个线程?
Do these two apps share the main thread ?
通常不会,因为通常它们在不同的进程中。
My question really is does each app opened get its own main thread ?
每个进程都有自己的主线程。默认情况下,每个应用都有自己的单独进程。
假设我们同时打开了两个应用程序(比如三星如何拆分屏幕并允许两个应用程序同时 运行)。这两个应用程序共享主线程吗?我的问题真的是每个打开的应用程序都有自己的主线程吗?还是他们共享一个线程?
Do these two apps share the main thread ?
通常不会,因为通常它们在不同的进程中。
My question really is does each app opened get its own main thread ?
每个进程都有自己的主线程。默认情况下,每个应用都有自己的单独进程。