-
1.
公开(公告)号:US10761904B2
公开(公告)日:2020-09-01
申请号:US15873826
申请日:2018-01-17
Applicant: salesforce.com, inc.
Inventor: Wesley Peter , Avi Brenner , Justin Horst
Abstract: Technologies are provided for synchronizing and joining multiple calls from a first thread and one or more second threads to execute a particular code segment. In response to a call from the first thread to execute the particular code segment, a task synchronizer module calls the particular code segment on behalf of the first thread. When execution of the particular code segment starts, and a call is received from a second thread to execute the particular code segment after receiving the call from the first thread, the task synchronizer module suspends execution of the particular code segment so that the second thread awaits for the execution of the particular code segment on behalf of the first thread to complete. When execution completes, a result value or exception is stored in a task object, and the second thread can read the result value or the exception.
-
公开(公告)号:US11256556B2
公开(公告)日:2022-02-22
申请号:US16867083
申请日:2020-05-05
Applicant: salesforce.com, inc.
Inventor: Justin Horst , Jason Foreman , Wesley Peter , Tyson Bunch , Gregory D. Loyd
IPC: G06F9/44 , G06F9/54 , G06F9/445 , G06F8/71 , G06F8/20 , G06F9/448 , G06F8/30 , G06F16/9536 , H04L67/06 , H04L67/142 , H04L67/141 , H04L67/1097
Abstract: The present disclosure is directed to systems and methods for generating an API caching library using a shared resource file. For example, a method may include: receiving, at a first platform, a shared resource file comprising metadata for declaratively deriving an application programming interface (API) caching library for a native application operating on the first platform and a corresponding application related to the native application for a second platform; parsing the shared resource file to extract the metadata at run-time of the native application; declaratively deriving the API caching library based on the extracted metadata, the declaratively deriving the API caching library comprising creating a plurality of objects that represent respective API endpoints of the API caching library; and executing a function of the native application based on at least one of the API endpoints.
-