Bug 989509 - Part 2: dom/, netwerk/, startupcache/, and xpcom/ (r=aklotz,bent,gvselto,mayhemer,Mossop)

This commit is contained in:
Shu-yu Guo 2014-04-03 19:29:40 -07:00
parent 9aaeb50e3d
commit 66303a7e33
5 changed files with 5 additions and 5 deletions

View File

@ -78,7 +78,7 @@ DOMStorageDBThread::Init()
MonitorAutoLock monitor(mMonitor);
mThread = PR_CreateThread(PR_USER_THREAD, &DOMStorageDBThread::ThreadFunc, this,
PR_PRIORITY_LOW, PR_LOCAL_THREAD, PR_JOINABLE_THREAD,
PR_PRIORITY_LOW, PR_GLOBAL_THREAD, PR_JOINABLE_THREAD,
262144);
if (!mThread) {
return NS_ERROR_OUT_OF_MEMORY;

View File

@ -252,7 +252,7 @@ main( int argc, char* argv[] ) {
TestListener::IOThread,
argv[threadNo],
PR_PRIORITY_NORMAL,
PR_LOCAL_THREAD,
PR_GLOBAL_THREAD,
PR_JOINABLE_THREAD,
0 );
if ( ioThread ) {

View File

@ -567,7 +567,7 @@ StartupCache::WriteTimeout(nsITimer *aTimer, void *aClosure)
StartupCache::ThreadedWrite,
startupCacheObj,
PR_PRIORITY_NORMAL,
PR_LOCAL_THREAD,
PR_GLOBAL_THREAD,
PR_JOINABLE_THREAD,
0);
}

View File

@ -278,7 +278,7 @@ TimeStamp::ComputeProcessUptime()
ComputeProcessUptimeThread,
&uptime,
PR_PRIORITY_NORMAL,
PR_LOCAL_THREAD,
PR_GLOBAL_THREAD,
PR_JOINABLE_THREAD,
0);

View File

@ -517,7 +517,7 @@ nsProcess::RunProcess(bool blocking, char **my_argv, nsIObserver* observer,
}
else {
mThread = PR_CreateThread(PR_SYSTEM_THREAD, Monitor, this,
PR_PRIORITY_NORMAL, PR_LOCAL_THREAD,
PR_PRIORITY_NORMAL, PR_GLOBAL_THREAD,
PR_JOINABLE_THREAD, 0);
if (!mThread) {
NS_RELEASE_THIS();