"Multitasking" improves performance with multithreading

Source: Internet
Author: User

The iphone will have the ability to support different types of multithreaded APIs, including: POSIX threads, Nsobject,nsthread, and Nsoperation.

iphone OS is a truly preemptive, multitasking operating system that allows developers to create multi-threaded applications.

With multi-threading, computer programmers can get their software to do multiple tasks at the same time. Sometimes it can take a few seconds for the app to complete a task, and in the meantime, you don't want the user to wait. For example, an app might need to download information from the Internet, and you might want to be able to see the activity indicator on the screen while the download work is done in the background, or navigate to other parts of your app. This responsiveness can be increased by multithreading for your application.

"Multitasking" improves performance with multithreading

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.