📜 ⬆️ ⬇️

Multitasking in the new Apple iOS 4

One of the major innovations of Apple iOS 4 is multitasking support!
According to Steve Jobs, the multitasking technology used in iOS 4 will significantly increase the battery life of the Apple iPhone and Apple iPad compared to solutions used by competitors - such as Google Android OS.

How does multitasking work in Apple iOS 4?
For third-party software developers in iOS 4, there is no real multitasking (although for developers of Apple iOS 4 itself, it exists - because the core of iOS 4 is multitasking and is cropped, modified and recompiled for ARM processors of the Apple Mac OS X core).
Apple has expanded the program API interface with some services. And now the program can tell the OS (specifically, the SpringBoard) that it has a “task, the completion of which is critical for the application”. In this case, SB will leave the program running in the background. Also from developers, it is possible to find out how much time is left before SB will require the program to complete its work.
This is all about abstract tasks. There are also categories of tasks that are constantly performed in the background: audio, location, voip, and have the opportunity to send yourself a notification at a certain time (a la alerts from PalmOS).

Multitasking is provided by the so-called “daemons”, familiar to users of * nix and BSD systems. This is the part of the program that executes its code in the background. But not the whole program. That is, only a demon will hang in the background, who will remember the last position in the work with the program. And if necessary, will continue its execution.
In addition, for greater convenience, provided more developed support for push-notifications.

The user interface of multitasking is quite simple: double-clicking the Home button will open the panel and show all running applications.
It does not matter whether you surf the Internet or play games: for example, when you call, you can click on the pop-up call acceptance button, talk quietly, and then calmly go back and continue working with the application.
')
It is difficult to determine the kind of multitasking that is used in Apple iOS 4, but some experts believe that for third-party software developers it is most similar to Co-operative multitasking - which was used in the 1980s and early 1990s in such OS as MS Windows 2.0, 3.0, 3.1, 3.11 and Apple System 6 , System 7 (Mac OS 7) - see: en.wikipedia.org/wiki/System_7

It seems to me that this kind of multitasking for the Apple iPhone smartphone and the Apple iPad internet tablet is enough, why use excessive functionality, when it is better to save battery power :)

How do you think?
I'd like to hear your opinion :)

Source: https://habr.com/ru/post/95868/


All Articles