Can I force cache coherency on a multicore x86 CPU?

后端 未结 9 1120
一个人的身影
一个人的身影 2020-11-29 18:43

The other week, I wrote a little thread class and a one-way message pipe to allow communication between threads (two pipes per thread, obviously, for bidirectional communica

9条回答
  •  臣服心动
    2020-11-29 19:13

    The following is a good article in reference to using volatile w/ threaded programs.

    Volatile Almost Useless for Multi-Threaded Programming.

提交回复
热议问题