Professional Documents
Culture Documents
Rege
Applications OS Libraries Device Operating System Base, Kernel Low-Level Hardware, Manufacturer Device Drivers
Allows the delivery of content to a device without the device having to request it
The data is sent asynchronously Server based/mediated (server typically is the Push Initiator) The Push Initiator submits a request to the Hosted Data Push Service which contains delivery instructions and the payload
Vishwakarma Institute of Information Technology 2011-12 6
Like event-driven systems, applications receive messages describing system events and associate parameters. Then, they post them to threads to process.
12
If also other applications do not have any event to process, the application puts the CPU in a standby state until the next event.
There are two ways of sending messages between two tasks: synchronous and asynchronous.
Vishwakarma Institute of Information Technology 2011-12 13
14
Applications send messages to other applications message queue by calling RimSendMessage and blocks the sending process until it receives responses from the destination.
The destination application receives the messages by calling RimGetMessage, put it in the queue and processes all earlier events in its message queue. Then, it processes the message, and any result of the processed message is sent to the location specified by the sending process (if applicable).
Vishwakarma Institute of Information Technology 2011-12 15
The sending application is unblocked and it returns form RimSendMessage. Thus, in order to avoid deadlock from occurring, when you write an application, you should run the synchronous sends in background threads.
Vishwakarma Institute of Information Technology 2011-12 16
17
Vs.
18
Developed By
Software Platform Programmed in Kernel Memory Management Multitasking Security
Apple Inc.
Led By
19
Closed
Developed By
Closed
Open
Source Model
Programmed in Kernel Memory Management
Multitasking
Security
20
C++
Developed By Source Model
C C C++ Objective-C
Programmed in
Kernel Memory Management
Multitasking
Security
21
Kernel
Memory Management
Multitasking
Security
22
Memory for done by Linux. objects are freed based on reference counting.
Memory
Management
Multitasking Security
23
Supported
Developed By Source Model Programmed in
Supported
Supported
Kernel
Memory Management
Multitasking
Security
24
Best
Developed By Source Model Programmed in
Good
Uses Encryption SSL
Bad
Open architecture
Kernel
Memory Management Multitasking
More prone to Very secured APP hacking world iTunes Non-secured app But not as good world as BlackBerry Can be hacked with some efforts
Security
25
26
27
THANK YOU
28