x |= y
Bitwise or is performed between x and y and the original value of x is returned. This operation occurs atomically and is thread safe.
i1 : x = new AtomicInt from 12 o1 = 12 o1 : AtomicInt
i2 : x |= 10 o2 = 12
i3 : x o3 = 14 o3 : AtomicInt