change thread naming mechanism