Break up long-running operations into smaller chunks to meet this goal.
将执行时间长的操作分解成符合要求的小块。
Table 1 shows some techniques for finding long-running operations in a UI thread, along with the advantages and disadvantages.
表1介绍了一些用于发现UI线程上长时间运行的操作的技术,以及它们的优缺点。
How can long-running operations be made safer?
怎样确保一个费时的操作安全?
What are some examples of such long running operations?
那么长时间运行的操作有哪些例子呢?
This really brings me to the more general use case for multiple threads: long running operations.
这也让我想起了多线程的一个更常用的用例:长时间运行的操作。
You might see examples of prime factorizations of large integers, or sorting huge lists of complex data structures, and those are certainly long running operations.
您可能见到过大整数质因数分解,或是对复杂数据结构的庞大列表进行分类,这些都是长时间运行的操作。
You might see examples of prime factorizations of large integers, or sorting huge lists of complex data structures, and those are certainly long running operations.
您可能见到过大整数质因数分解,或是对复杂数据结构的庞大列表进行分类,这些都是长时间运行的操作。
应用推荐