Lines Matching +full:is +full:- +full:32 +full:bit
6 An :dfn:`atomic variable` is one that can be read and modified
7 by threads and ISRs in an uninterruptible manner. It is a 32-bit variable on
8 32-bit machines and a 64-bit variable on 64-bit machines.
23 The kernel also supports the atomic manipulation of a single bit
32 An atomic variable is defined using a variable of type :c:type:`atomic_t`.
34 By default an atomic variable is initialized to zero. However, it can be given
37 .. code-block:: c
44 An atomic variable is manipulated using the APIs listed at the end of
48 of the number of times a function has been invoked. Since the count is
49 incremented atomically, there is no risk that it will become corrupted
50 in mid-increment if a thread calling the function is interrupted if
53 .. code-block:: c
69 An array of 32-bit atomic variables can be defined in the conventional manner.
70 However, you can also define an N-bit array of atomic variables using
73 A single bit in array of atomic variables can be manipulated using
79 .. code-block:: c
85 /* set specified flag bit & return its previous value */
99 architecture-specific implementations are responsible for ensuring
106 requires the manipulation of a single 32-bit value.
109 on a set of flag bits in a bit array longer than 32 bits.
112 Using atomic variables is typically far more efficient than using