The event handler uses the CompareExchange(Int32, Int32, Int32) method to set a control variable to 1, but only if the value is currently zero.

  • 事件处理程序使用CompareExchange(Int32,Int32,Int32)方法将一个控制变量设置为1,但仅在此变量的当前值为零时才进行此设置。
目录 查词历史