semantics - by thread