Home | History | Annotate | Download | only in atomic
History log of /src/common/lib/libc/atomic/atomic_op_namespace.h
RevisionDateAuthorComments
 1.8  04-Mar-2025  riastradh libc atomic_op_namespace.h: Add membar_release and membar_acquire.

These namespace macros will be needed so that libpthread can call
NetBSD's nonstandard membar_release/acquire functions even if linked
against an application that defines symbols of the same name.

Preparation for:

PR lib/59126: pthread_once(3): missing memory ordering
 1.7  13-Oct-2014  martin branches: 1.7.16; 1.7.36;
Provide __sync_and_and_fetch_2 and __sync_and_and_fetch_1 for pre-ARMv6,
they are needed for the C++ 2011 <atomic> stuff.
 1.6  22-Feb-2014  martin branches: 1.6.4;
Try to hide the C runtime implementation specific __sync_* ops from librump,
to avoid duplicates.
 1.5  21-Feb-2014  martin Provide 8 and 16 bit sync ops (using 16 bit and 8 bit cas)
 1.4  23-Jun-2008  ad branches: 1.4.2; 1.4.24;
+atomic_cas_*_ni
 1.3  28-Apr-2008  martin branches: 1.3.2;
Remove clause 3 and 4 from TNF licenses
 1.2  28-Nov-2007  ad branches: 1.2.4; 1.2.8;
Support files from the thorpej-atomic branch.
 1.1  16-Apr-2007  thorpej branches: 1.1.2;
file atomic_op_namespace.h was initially added on branch thorpej-atomic.
 1.1.2.1  16-Apr-2007  thorpej Namespace protection for atomic operations.
 1.2.8.1  18-May-2008  yamt sync with head.
 1.2.4.2  09-Jan-2008  matt sync with HEAD
 1.2.4.1  28-Nov-2007  matt file atomic_op_namespace.h was added on branch matt-armv6 on 2008-01-09 01:21:29 +0000
 1.3.2.1  18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.4.24.1  19-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.4.2.1  22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.6.4.1  12-Nov-2014  snj Pull up following revision(s) (requested by martin in ticket #218):
common/lib/libc/arch/arm/atomic/Makefile.inc: revision 1.24-1.26
common/lib/libc/arch/hppa/atomic/Makefile.inc: revision 1.13
common/lib/libc/arch/mips/atomic/Makefile.inc: revision 1.13
common/lib/libc/arch/sh3/atomic/Makefile.inc: revision 1.7
common/lib/libc/arch/sparc/atomic/Makefile.inc: revision 1.18
common/lib/libc/arch/vax/atomic/Makefile.inc: revision 1.7
common/lib/libc/atomic/atomic_and_16_nv_cas.c: revision 1.2
common/lib/libc/atomic/atomic_and_8_nv_cas.c: revision 1.2
common/lib/libc/atomic/atomic_c11_compare_exchange_cas_16.c: revision 1.1-1.2
common/lib/libc/atomic/atomic_c11_compare_exchange_cas_32.c: revision 1.1-1.2
common/lib/libc/atomic/atomic_c11_compare_exchange_cas_8.c: revision 1.1-1.2
common/lib/libc/atomic/atomic_cas_by_cas32.c: revision 1.4
common/lib/libc/atomic/atomic_op_namespace.h: revision 1.7
Add __sync_val_compare_and_swap_{1,2} aliases for _atomic_cas_{8,16}
--
Provide __atomic_compare_exchange_N (as needed for the C11 2011 <atomic>
ops) via the corresponding CAS.
--
Hook __atomic_compare_exchange_N into vax libc.
--
Provide __sync_and_and_fetch_2 and __sync_and_and_fetch_1 for pre-ARMv6,
they are needed for the C++ 2011 <atomic> stuff.
--
Add C++ 2011 <atomic> support functions.
--
Move the and_{16,8}_nv sources into the right (libc only) block.
--
Provide <atomic> C++ 2011 support functions for mips and sh3.
--
Provide C++ 2011 <atomic> support functions for hppa and arm.
--
Provide prototypes to fix build with clang.
 1.7.36.1  02-Aug-2025  perseant Sync with HEAD
 1.7.16.2  21-Apr-2020  martin Ooops, restore accidently removed files from merge mishap
 1.7.16.1  21-Apr-2020  martin Sync with HEAD

RSS XML Feed