c++ - Memory barriers in userspace? (Linux, x86-64) -


Memory barriers are easy to set on the kernel side: macros MB, WMb, RBB, etc. are always in place, Linux kernel headers Thank you for

How to complete it in the user side?

Pausix functions as memory barriers. Memory locations should not be entered concurrently; To prevent this, use synchronization - and this synchronization will also act as a barrier.


Comments

Popular posts from this blog

c# - ListView onScroll event -

PHP - get image from byte array -

Linux Terminal Problem with Non-Canonical Terminal I/O app -