removed default parameters from mutex and spin mutex.