multithread psclock