Patent ID: 7970814

Claim:
A method, comprising: in a synchronous interface engine executing on a processor to provide the synchronous interface, receiving a first request from a first client for a first asynchronous service; issuing a first asynchronous service request to perform the first asynchronous service, the first asynchronous service request including a first unique client identifier associated with the first client; associating a first wait condition with a first semaphore and the first unique client identifier to indicate to the first client to wait for a first result of the first asynchronous service, the associating comprising representing the first request in a first row of a hash table comprising: the first unique client identifier; and the first semaphore representing the associated first wait condition; acquiring the first semaphore; representing a second request associated with a second client in a second row of the hash table comprising a second unique client identifier associated with the second client and a second semaphore representing an associated second wait condition; receiving the first result of the first asynchronous service, the first result including the first unique client identifier; removing the associated first wait condition comprising: locating the first unique client identifier in the first row of the hash table; and releasing the first semaphore represented in the first row of the hash table; and sending the first result to the first client.