Skip to content
阅读进度

Why not move everything to a background thread? / 为什么不把所有工作都移到后台线程? ​

返回 技术表达与英语 目录

标准回答 ​

Some work must stay on the main thread, and some tasks have dependencies. Moving everything to background threads can also introduce synchronization overhead and CPU contention. I would first identify which tasks can safely run independently.

表达说明 ​

关键词:dependencies、synchronization overhead、CPU contention。

内容来源 ​

用完整回答理解机制,用真实证据解释项目。