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

email - PHP mail error ... failed to open stream : permission denied -

c# - ListView onScroll event -

c - Linux mmap() error -