×

Thread synchronization for platform neutrality

  • US 10,198,279 B2
  • Filed: 08/05/2016
  • Issued: 02/05/2019
  • Est. Priority Date: 10/22/2015
  • Status: Active Grant
First Claim
Patent Images

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 all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×