This is the documentation for the latest (master) development branch of Zephyr. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.
CONFIG_ATOMIC_OPERATIONS_BUILTIN

(No prompt – not directly user assignable.)

Type: bool

Help

Use the compiler builtin functions for atomic operations. This is the preferred method. However, support for all arches in GCC is incomplete.

Defaults

No defaults. Implicitly defaults to n.

Kconfig definition

At kernel/Kconfig:367

Included via Kconfig:8Kconfig.zephyr:30

Menu path: (Top) → General Kernel Options → Atomic Operations

config ATOMIC_OPERATIONS_BUILTIN
    bool
    help
      Use the compiler builtin functions for atomic operations. This is
      the preferred method. However, support for all arches in GCC is
      incomplete.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)