The examples so far -- counter and stack -- are very simple nonblocking algorithms and are easy to follow once you grasp the pattern of using CAS in a loop.
A second biasing structure having a second magnetization vector is positioned within the sensor stack relative to the sensing layer to counter the biasing field at a center of the sensing layer.