Atomically replaces the value pointed by obj with the result of bitwise XOR between the old value of obj and arg, and returns the value obj held previously. The operation is read-modify-write operation. The first version orders memory accesses according to memory_order_seq_cst, the second version orders memory accesses according to order.

The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions.

This is a generische Funktion defined for all atomic object types. A is the type of an atomic object, M is either the non-atomic type corresponding to A if A is atomic integer type, or ptrdiff_t if A is atomic pointer type.

The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions.