trying to figure out why a thread lock occurs in this function, making minor changes
trying to figure out why a thread lock occurs in this function, making minor changes

hsu/chrono,Milad-Rakhsha/chrono,Bryan-Peterson/chrono,Bryan-Peterson/chrono,PedroTrujilloV/chrono,Milad-Rakhsha/chrono,dariomangoni/chrono,andrewseidl/chrono,amelmquist/chrono,jcmadsen/chrono,andrewseidl/chrono,rserban/chrono,andrewseidl/chrono,projectchrono/chrono,Milad-Rakhsha/chrono,rserban/chrono,amelmquist/chrono,andrewseidl/chrono,tjolsen/chrono,armanpazouki/chrono,hsu/chrono,jcmadsen/chrono,PedroTrujilloV/chrono,jcmadsen/chrono,tjolsen/chrono,jcmadsen/chrono,rserban/chrono,rserban/chrono,Bryan-Peterson/chrono,jcmadsen/chrono,rserban/chrono,PedroTrujilloV/chrono,dariomangoni/chrono,projectchrono/chrono,hsu/chrono,armanpazouki/chrono,dariomangoni/chrono,dariomangoni/chrono,hsu/chrono,projectchrono/chrono,armanpazouki/chrono,armanpazouki/chrono,Bryan-Peterson/chrono,Bryan-Peterson/chrono,hsu/chrono,jcmadsen/chrono,tjolsen/chrono,amelmquist/chrono,amelmquist/chrono,PedroTrujilloV/chrono,Milad-Rakhsha/chrono,rserban/chrono,projectchrono/chrono,jcmadsen/chrono,andrewseidl/chrono,tjolsen/chrono,armanpazouki/chrono,rserban/chrono,amelmquist/chrono,projectchrono/chrono,dariomangoni/chrono,tjolsen/chrono,armanpazouki/chrono,projectchrono/chrono,dariomangoni/chrono,Milad-Rakhsha/chrono,amelmquist/chrono,Milad-Rakhsha/chrono,PedroTrujilloV/chrono