A simple lock-free queue implementation.