is locking all the threads?