wip: roboust thread index
wip: concurrent thread index