Volatile and multiple reads by compiler

前端 未结 0 2011
鱼传尺愫
鱼传尺愫 2020-12-15 18:32

I was reading a section of kernel/timer.c file and came across this section which uses READ_ONCE and a comment which states that using READ_ONCE() prevents multiple reads by

相关标签:
回答
  • 消灭零回复
提交回复
热议问题