Processing events for concurrent tasks in a virtual machine
First Claim
1. A method of processing native events by a virtual machine that operates on a first platform, wherein said virtual machine concurrently supports a first and a second task, said method comprising:
- receiving, by a virtual machine, a native event that is associated with a first platform;
selecting, by said virtual machine, one of said first and second tasks as a selected task for receiving said native event, wherein said selection is performed when said first and second tasks are concurrently supported by said virtual machine; and
processing said native event on behalf of said task.
2 Assignments
0 Petitions
Accused Products
Abstract
Techniques for processing native events associated with tasks that are concurrently supported in a virtual machine are disclosed. The techniques allow the user of a virtual machine to concurrently perform tasks even if these tasks require processing of platform-specific (or native) events (e.g., platform-specific input). A smart event-dispatcher is used to dispatch native events to multiple tasks that are concurrently supported by the virtual machine. The smart event-dispatcher can determine which one of a plurality of concurrent tasks should receive the native event for processing. The determination can be made based on a variety of different criteria. In mobile devices, the foreground task is typically the only task that is displayed for the user of mobile devices at any given time. Thus, dispatching events to the foreground task is especially useful for a virtual machine that support a mobile device.
-
Citations
22 Claims
-
1. A method of processing native events by a virtual machine that operates on a first platform, wherein said virtual machine concurrently supports a first and a second task, said method comprising:
-
receiving, by a virtual machine, a native event that is associated with a first platform;
selecting, by said virtual machine, one of said first and second tasks as a selected task for receiving said native event, wherein said selection is performed when said first and second tasks are concurrently supported by said virtual machine; and
processing said native event on behalf of said task. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. A virtual machine for processing native events associated with a first platform, wherein said virtual machine concurrently supports a first and a second task, said virtual machine comprising:
-
first and second tasks that are concurrently operating on said virtual machine; and
a native event dispatcher that can operate to;
receive a native event that is associated with said first platform; and
select one of said first and second tasks as a selected task for processing said native event. - View Dependent Claims (13, 14)
-
-
15. A method of processing native events by a virtual machine that operates on a first platform, wherein said virtual machine concurrently supports a first and a second task on said first platform, said method comprising:
-
receiving, by a virtual machine, a native event that is associated with a first platform;
determining, by said virtual machine, which one of said first and second tasks is a foreground task, wherein said foreground task is the only task that is displayed; and
processing, by said foreground task, said native event. - View Dependent Claims (16, 17)
-
-
18. A virtual machine capable of processing native events, wherein said virtual machine concurrently supports a first and a second task on a first platform, and wherein said virtual machine can operate to:
-
receive a native event that is associated with said first platform;
determine which one of said first and second tasks is the task displayed;
process said foreground task on behalf of said native event. - View Dependent Claims (19)
-
-
20. A computer readable medium including computer program for processing native events by a virtual machine that operates on a first platform, wherein said virtual machine concurrently supports a first and a second task, said computer readable medium comprising:
-
computer program code for receiving a native event that is associated with a first platform;
computer program code for selecting one of said first and second tasks as a selected task for receiving said native event, wherein said selection is performed when said first and second tasks are concurrently supported by said virtual machine; and
computer program code for processing said native event. - View Dependent Claims (21, 22)
-
Specification