Re: Curious global variable bug? Bad assumptions on my part?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Matthew,

> Huh? I thought SMP hardware is required to be responsible for cache
> syncing in such an instance...

No.  Alas.  Perhaps on some SMP hardware, but not all.

For the hardware I used, which definitely did not have that feature, that's
why the pthread library emitted a memory barrier around the mutex:  to
ensure the caches are synchronized.

Sincerely,
--Eljay


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux