added file header for atomic.c