doc thread safe changes to running mean