*** UNIX MANUAL PAGE BROWSER ***

A Nergahak database for man pages research.

Navigation

Directory Browser

1Browse 4.4BSD4.4BSD
1Browse Digital UNIXDigital UNIX 4.0e
1Browse FreeBSDFreeBSD 14.3
1Browse MINIXMINIX 3.4.0rc6-d5e4fc0
1Browse NetBSDNetBSD 10.1
1Browse OpenBSDOpenBSD 7.7
1Browse UNIX v7Version 7 UNIX
1Browse UNIX v10Version 10 UNIX

Manual Page Search

Manual Page Result

0 Command: atomic_load_int | Section: 9 | Source: OpenBSD | File: atomic_load_int.9
ATOMIC_LOAD_INT(9) FreeBSD Kernel Developer's Manual ATOMIC_LOAD_INT(9) NAME atomic_load_int, atomic_load_long, atomic_store_long, atomic_store_int - atomic read and write memory operations SYNOPSIS #include <sys/atomic.h> unsigned int atomic_load_int(volatile unsigned int *p); unsigned long atomic_load_long(volatile unsigned long *p); void atomic_store_int(volatile unsigned int *p, unsigned int v); void atomic_store_long(volatile unsigned long *p, unsigned long v); DESCRIPTION The atomic_load and atomic_store set of functions provide an interface for atomically performing read or write memory operations with respect to interrupts and multiple processors in the system. The atomic_store functions change the value referenced by the pointer p to the value v. CONTEXT atomic_load_int(), atomic_load_long(), atomic_store_int(), and atomic_store_long() can all be called during autoconf, from process context, or from interrupt context. RETURN VALUES atomic_load_int and atomic_load_long return the value at p. SEE ALSO atomic_add_int(9), atomic_add_long(9), atomic_sub_int(9), atomic_sub_long(9) HISTORY The atomic_load and atomic_store functions first appeared in OpenBSD 7.1. FreeBSD 14.1-RELEASE-p8 March 10, 2022 FreeBSD 14.1-RELEASE-p8

Navigation Options