6,954,933 by Microsoft
6. A computer apparatus for sending a message via a high-performance message queue, comprising:
(a) a memory; and
(b) a processor connected to the memory, wherein the processor is configured to operate in accordance with executable instructions that, when executed, cause the processor to:
i. provide a message queue associated with a context;
ii. execute a user interface thread associated with said context;
iii. receive a request from said user interface thread to send a message to a second user interface thread;
iv. determine whether said second user interface thread is associated with said context; and
v. in response to determining that said second user interface thread is associated with said context, send said message from said user interface thread directly to said second user interface thread, thereby bypassing said message queue.