Integrate atomic.h in iqueue.c