Fixed potential deadlock when adding many resources from script
Fixed potential deadlock when adding many resources from script

git-svn-id: ab66a9de07fa9d47c5829c82992f5279466c775f@3499 63c20433-aa62-49bd-875c-5a186b69a8fb

ARSekkat/gpac,nguyen-viet-thanh-trung/gpac,rbouqueau/gpac,Bevara/Access-open,epam/gpac,DmitrySigaev/gpac,drakeguan/gpac,DmitrySigaev/gpac,rbouqueau/gpac,porcelijn/gpac,DmitrySigaev/gpac,RodolpheFouquet/gpac,emmanouil/gpac,canatella/gpac,ARSekkat/gpac,DmitrySigaev/gpac,emmanouil/gpac,rbouqueau/gpac_brew_travis,rbouqueau/gpac,rauf/gpac,rbouqueau/gpac,rbouqueau/gpac_brew_travis,rbouqueau/gpac,emmanouil/gpac,emmanouil/gpac,RodolpheFouquet/gpac,vladimir-kazakov/gpac,epam/gpac,Bevara/Access-open,emmanouil/gpac,vladimir-kazakov/gpac,porcelijn/gpac,DmitrySigaev/gpac,epam/gpac,rauf/gpac,porcelijn/gpac,aymanelyaagoubi/gpac,canatella/gpac,gpac/gpac,psteinb/gpac,rauf/gpac,nguyen-viet-thanh-trung/gpac,epam/gpac,rbouqueau/gpac_brew_travis,drakeguan/gpac,aymanelyaagoubi/gpac,rbouqueau/gpac,epam/gpac,canatella/gpac,rbouqueau/gpac_brew_travis,canatella/gpac,drakeguan/gpac,drakeguan/gpac,RodolpheFouquet/gpac,canatella/gpac,vladimir-kazakov/gpac,canatella/gpac,gpac/gpac,ARSekkat/gpac,rbouqueau/gpac_brew_travis,Bevara/Access-open,gpac/gpac,aymanelyaagoubi/gpac,porcelijn/gpac,vladimir-kazakov/gpac,porcelijn/gpac,aymanelyaagoubi/gpac,drakeguan/gpac,emmanouil/gpac,psteinb/gpac,RodolpheFouquet/gpac,Bevara/Access-open,rauf/gpac,gpac/gpac,rbouqueau/gpac_brew_travis,Bevara/Access-open,canatella/gpac,epam/gpac,DmitrySigaev/gpac,ARSekkat/gpac,psteinb/gpac,nguyen-viet-thanh-trung/gpac,RodolpheFouquet/gpac,psteinb/gpac,aymanelyaagoubi/gpac,nguyen-viet-thanh-trung/gpac,nguyen-viet-thanh-trung/gpac,vladimir-kazakov/gpac,Bevara/Access-open,ARSekkat/gpac,rauf/gpac,rbouqueau/gpac,vladimir-kazakov/gpac,psteinb/gpac,rbouqueau/gpac,gpac/gpac,aymanelyaagoubi/gpac,rauf/gpac,RodolpheFouquet/gpac,gpac/gpac,nguyen-viet-thanh-trung/gpac,porcelijn/gpac,gpac/gpac,psteinb/gpac,gpac/gpac,drakeguan/gpac,ARSekkat/gpac