Synchronous operation method performance in context of asynchronous event loop

A synchronous operation method receives a call request from program code executing on an execution engine. The program code has an associated event loop handling asynchronous event calls and callbacks within the program code. Handlers of the event loop associated with the asynchronous event calls an...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Gofman, Marina, Kedem, Gil, Kozorovitzky, Boris, Kazak, Yafim
Format: Patent
Sprache:eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:A synchronous operation method receives a call request from program code executing on an execution engine. The program code has an associated event loop handling asynchronous event calls and callbacks within the program code. Handlers of the event loop associated with the asynchronous event calls and the callbacks within the program code, except a handler of the event loop associated with the synchronous operation method, are temporarily disabled. The synchronous operation method performs an operation specified within the call request, while the event loop is running with the handlers in question temporarily disabled. The synchronous operation method, upon completion, calls back its handler with results of performance of the operation, and the disabled handlers are reenabled.