A simple concurrent queue in c, implemented with both one and two locks.