operator = from thread