All functions including mutexes working