make the decision which locking functions to use more explicit; patch supplied by Martin
make the decision which locking functions to use more explicit; patch supplied by Martin

git-svn-id: 444ed946b9c2220da791e84c3dd156a05f92db99@3040 c6295689-39f2-0310-b995-f0e70906c6a9

OpenSC/OpenSC,mtrojnar/OpenSC,gemini/OpenSC,financeX/OpenSC,marschap/pkg-opensc,adminmt/OpenSC,dirkx/OpenSC.tokend,ieugen/OpenSC,gemini/OpenSC,0x7678/OpenSC,mouse07410/OpenSC,philipWendland/OpenSC,dirkx/OpenSC.tokend,marschap/pkg-opensc,hongquan/OpenSC-main,viktorTarasov/OpenSC-SM,frankmorgner/OpenSC,kasparsd/opensc-latvia-id,dengert/OpenSC,ieugen/OpenSC,AktivCo/OpenSC,fabled/OpenSC,tidatida/OpenSC,0x7678/myOpenSC,tidatida/OpenSC,0x7678/myOpenSC,Jakuje/OpenSC,velter/OpenSC,gentoo/OpenSC,rickyepoderi/OpenSC,CardContact/OpenSC,hongquan/OpenSC-main,aobaid/OpenSC,viktorTarasov/OpenSC-SM,germanblanco/OpenSC,ieugen/OpenSC,dirkx/OpenSC,dirkx/OpenSC,jpki/OpenSC,kasparsd/opensc-latvia-id,fabled/OpenSC,metsma/OpenSC,germanblanco/OpenSC,mouse07410/OpenSC,aobaid/OpenSC,gentoo/OpenSC,carlhoerberg/OpenSC,fabled/OpenSC,hhonkanen/OpenSC,jpki/OpenSC,Jakuje/OpenSC,l1k/OpenSC,kasparsd/opensc-latvia-id,0x7678/myOpenSC,martinpaljak/OpenSC,nmav/OpenSC,mouse07410/OpenSC,germanblanco/OpenSC,gentoo/OpenSC,carlhoerberg/OpenSC,dirkx/OpenSC.tokend,viktorTarasov/OpenSC-SM,ieugen/OpenSC,0x7678/myOpenSC,gentoo/OpenSC,0x7678/OpenSC,gemini/OpenSC,aobaid/OpenSC,gentoo/OpenSC,metsma/OpenSC,UIKit0/OpenSC,hhonkanen/OpenSC,marschap/pkg-opensc,velter/OpenSC,LudovicRousseau/OpenSC,mtrojnar/OpenSC,ieugen/OpenSC,financeX/OpenSC,financeX/OpenSC,mtrojnar/OpenSC,0x7678/OpenSC,dengert/OpenSC,kasparsd/opensc-latvia-id,UIKit0/OpenSC,tidatida/OpenSC,martinpaljak/OpenSC,aobaid/OpenSC,AktivCo/OpenSC,frankmorgner/OpenSC,nmav/OpenSC,CardContact/OpenSC,LudovicRousseau/OpenSC,UIKit0/OpenSC,jpki/OpenSC,dirkx/OpenSC,philipWendland/OpenSC,carlhoerberg/OpenSC,velter/OpenSC,nmav/OpenSC,l1k/OpenSC,frankmorgner/OpenSC,AktivCo/OpenSC,LudovicRousseau/OpenSC,dirkx/OpenSC,carlhoerberg/OpenSC,velter/OpenSC,Jakuje/OpenSC,l1k/OpenSC,financeX/OpenSC,hhonkanen/OpenSC,dengert/OpenSC,frankmorgner/OpenSC,martinpaljak/OpenSC,UIKit0/OpenSC,adminmt/OpenSC,dirkx/OpenSC.tokend,hongquan/OpenSC-main,0x7678/myOpenSC,OpenSC/OpenSC,OpenSC/OpenSC,financeX/OpenSC,fabled/OpenSC,Jakuje/OpenSC,philipWendland/OpenSC,rickyepoderi/OpenSC,dirkx/OpenSC.tokend,carlhoerberg/OpenSC,dirkx/OpenSC,metsma/OpenSC,dirkx/OpenSC.tokend,tidatida/OpenSC,adminmt/OpenSC,rickyepoderi/OpenSC,marschap/pkg-opensc,0x7678/OpenSC,CardContact/OpenSC,adminmt/OpenSC