Add thread info to search tree, can be used in map