completed mutex.s and shorten job time in atomic.c