且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

被声明为volatile的InterlockedIncrement参数的效果是什么

更新时间:2022-12-22 19:20:37

可能的效果非常小。最可能的目的是允许用户将 volatile - 限定的变量传递到这些函数,而不需要类型转换。

The probable effect is very minimal. The most likely intent is to allow users to pass volatile-qualified variables to these functions without the need for a typecast.