Move lockthread to package level
Move lockthread to package level

Move this to be one of the first things that is done in the main if we
are executing the init.

Signed-off-by: Michael Crosby <951f4c7b5d47e32d0112c78d14a98eaa23e6b5ef@gmail.com>

sunyuan3/runc,albertoleal/runc,abduld/runc,docker/runc,mheon/runc,coolljt0725/runc,adrianreber/runc,cyphar/runc,vbatts/runc,cloudfoundry-incubator/runc,stefanberger/runc,mYmNeo/runc,hqhq/runc,avagin/runc,xiaochenshen/runc,dqminh/runc,rhatdan/runc,docker/runc,justincormack/runc,coolljt0725/runc,albertoleal/runc,vbatts/runc,keloyang/runc,sunyuan3/runc,estesp/runc,dqminh/runc,avagin/runc,mYmNeo/runc,dqminh/runc,wking/runc,mikebrow/runc,mikebrow/runc,xiaochenshen/runc,keloyang/runc,opencontainers/runc,shishir-a412ed/runc,jhowardmsft/runc,stefanberger/runc,maxamillion/runc,hqhq/runc,WeiZhang555/runc,hqhq/runc,estesp/runc,nkwilson/runc,rajasec/runc,mheon/runc,cyphar/runc,docker/runc,mheon/runc,cyphar/runc,jhowardmsft/runc,estesp/runc,crosbymichael/runc,ZJU-SEL/runc,kolyshkin/runc,wking/runc,crosbymichael/runc,vbatts/runc,rhatdan/runc,keloyang/runc,dqminh/runc,abduld/runc,kolyshkin/runc,mYmNeo/runc,rhatdan/runc,cloudfoundry-incubator/runc,ZJU-SEL/runc,cloudfoundry-incubator/runc,nkwilson/runc,shishir-a412ed/runc,adrianreber/runc,justincormack/runc,laijs/runc,opencontainers/runc,opencontainers/runc,adrianreber/runc,WeiZhang555/runc,jhowardmsft/runc,rajasec/runc,inatatsu/runc,kolyshkin/runc,sunyuan3/runc,kolyshkin/runc,crosbymichael/runc,coolljt0725/runc,abduld/runc,opencontainers/runc,xiaochenshen/runc,WeiZhang555/runc,rajasec/runc,wking/runc,nkwilson/runc,shishir-a412ed/runc,laijs/runc,ZJU-SEL/runc,albertoleal/runc,laijs/runc,stefanberger/runc,rhatdan/runc,mikebrow/runc,inatatsu/runc,inatatsu/runc,avagin/runc,justincormack/runc,maxamillion/runc,maxamillion/runc