المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Windows 2000: Asynchronous Method Calls Eliminate the Wait for COM Clients and Server



C++ Programming
03-29-2009, 02:42 AM
Windows 2000 is the first version of COM to support asynchronous method calls, which permit clients to make nonblocking calls to COM objects and objects to process incoming calls without blocking the calling threads. COM clients benefit from asynchronous method calls because they can continue working while waiting for outbound calls to return. Objects benefit because they can queue incoming calls and service them from a thread pool. Our SieveClient and SieveServer sample apps demonstrate how to create and use asynchronous clients and servers in COM-based distributed applications.

Jeff Prosise

<a href="http://msdn.microsoft.com/magazine/eae2cb1a-b21b-41fe-903f-cd47312a46ad">MSDN Magazine April 2000