protect from OOM killer before spawning threads
protect from OOM killer before spawning threads

git-svn-id: 97ee0374337b904e4860f9ce78362f550003d14d@13654 db81c003-b5ea-0310-aa99-ed7f6e1db739

spiiroin/libdsme,spiiroin/libdsme,android-808/libdsme,android-808/libdsme