术语"输入同步调用"是什么意思?

时间:2020-03-06 14:58:18  来源:igfitidea点击:

我在多线程公寓中的一篇文章中找到了此内容,但找不到输入同步调用的定义。
(文章位于http://msdn.microsoft.com/zh-cn/library/ms693421(VS.85).aspx)

如本文所用
多线程单元无法进行输入同步的调用

什么是"输入同步"调用?

谢谢

解决方案

在这里看看这篇文章。

Input-synchronized calls - When making
  input-synchronized calls, the object
  called must complete the call before
  yielding control. This helps ensure
  that focus management works correctly
  and that data entered by the user is
  processed appropriately. These calls
  are made by COM through the Windows
  SendMessage function, without entering
  a modal loop. While processing an
  input-synchronized call, the object
  called must not call any function or
  method (including synchronous methods)
  that might yield control.