A lock-free stack.
This is an implementation of the Treiber stack, one of the simplest lock-free data structures.