add a new compiler flag -nolock: turning off synchronization lock