thread: create join sync