Date: Mon, 23 Apr 2012 14:56:03 +0800 From: Fengwei yin <yfw.bsd@gmail.com> To: freebsd-threads@freebsd.org Cc: jack.ren@intel.com Subject: About the memory barrier in BSD libc Message-ID: <CAPHpMu=DOGQ=TuFeYH7bH8hVwteT4Q3k67-mvoOFob6P3Y506w@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
Hi list, If this is not correct question on the list, please let me know and sorry for noise. I have a question regarding the BSD libc for SMP arch. I didn't see memory barrier used in libc. How can we make sure it's safe on SMP arch? BTW, there are memory barrier used in kernel instead. So I suppose the memory barrier is needed. Regards Yin, Fengwei
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPHpMu=DOGQ=TuFeYH7bH8hVwteT4Q3k67-mvoOFob6P3Y506w>