Thread synchronization for platform neutrality
First Claim
1. A non-transitory computer readable medium having instructions stored thereon that, when executed by a processor, cause the processor to perform thread synchronization across layers of code that implement an application, including native code, system code, and code in a virtual machine (VM), the processor:
- making a call by the native code to the system code, wherein the native code initiates the call based on a command received from a user interface (UI) script code of the application;
sending a message by the system code to the code in the VM;
sending a first response by the code in the VM to the system code; and
sending a second response by the system code to the native code;
wherein the application is implemented in a single process based on code synchronization among at least the native code, the system code, and the code in the VM, wherein each one of the native code, the UI script code, the system code, and the code in the VM perform wait and notify functionality for communication with other layers of code that implement the application, wherein the UI script code and the native code communicate via a commands queue.
1 Assignment
0 Petitions
Accused Products
Abstract
A system performs thread synchronization across layers of code that implement an application, including native code, system code, and code in a virtual machine (“VM”). The system makes a call by the native code to the system code; and sends a message by the system code to the code in the VM. The system then sends a first response by the code in the VM to the system code; and sends a second response by the system code to the native code, where each one of the native code, the system code, and the code in the VM implements wait and notify functionality for communication with other codes that implement the application.
10 Citations
15 Claims
-
1. A non-transitory computer readable medium having instructions stored thereon that, when executed by a processor, cause the processor to perform thread synchronization across layers of code that implement an application, including native code, system code, and code in a virtual machine (VM), the processor:
-
making a call by the native code to the system code, wherein the native code initiates the call based on a command received from a user interface (UI) script code of the application; sending a message by the system code to the code in the VM; sending a first response by the code in the VM to the system code; and sending a second response by the system code to the native code; wherein the application is implemented in a single process based on code synchronization among at least the native code, the system code, and the code in the VM, wherein each one of the native code, the UI script code, the system code, and the code in the VM perform wait and notify functionality for communication with other layers of code that implement the application, wherein the UI script code and the native code communicate via a commands queue. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A method of thread synchronization across layers of code that implement an application, including native code, system code, and code in a virtual machine (VM), the method comprising:
-
making a call by the native code to the system code, wherein the native code initiates the call based on a command received from a user interface (UI) script code of the application; sending a message by the system code to the code in the VM; sending a first response by the code in the VM to the system code; and sending a second response by the system code to the native code; wherein the application is implemented in a single process based on code synchronization among at least the native code, the UI script code, the system code, and the code in the VM, wherein each one of the native code, the system code, and the code in the VM perform wait and notify functionality for communication with other layers of code that implement the application, wherein the UI script code and the native code communicate via a commands queue. - View Dependent Claims (11, 12)
-
-
13. A system for thread synchronization across layers of code that implement an application, including native code, system code, and code in a virtual machine (VM), the system comprising:
-
a processor; and a memory coupled with the processor, wherein, when executing instructions stored on the memory, the processor; makes a call by the native code to the system code, wherein the native code initiates the call based on a command received from a user interface (UI) script code of the application; sends a message by the system code to the code in the VM; sends a first response by the code in the VM to the system code; and sends a second response by the system code to the native code; wherein the application is implemented in a single process based on code synchronization among the native code, the system code, and the code in the VM, wherein each one of the native code, the UI script code, the system code, and the code in the VM perform wait and notify functionality for communication with other layers of code that implement the application, wherein the system code and the code in the VM communicate via a message queue. - View Dependent Claims (14, 15)
-
Specification