且构网

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

什么是声明为volatile InterlockedIncrement参数的影响

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

的可能产生的影响是很小的。最有可能的目的是允许用户通过挥发性 -qualified变量这些功能,而无需强制类型转换。

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.