зеркало из https://github.com/mozilla/gecko-dev.git
Bug 989509 - Part 2: dom/, netwerk/, startupcache/, and xpcom/ (r=aklotz,bent,gvselto,mayhemer,Mossop)
This commit is contained in:
Родитель
d06936982e
Коммит
82fe2098a8
|
@ -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;
|
||||
|
|
|
@ -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 ) {
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -278,7 +278,7 @@ TimeStamp::ComputeProcessUptime()
|
|||
ComputeProcessUptimeThread,
|
||||
&uptime,
|
||||
PR_PRIORITY_NORMAL,
|
||||
PR_LOCAL_THREAD,
|
||||
PR_GLOBAL_THREAD,
|
||||
PR_JOINABLE_THREAD,
|
||||
0);
|
||||
|
||||
|
|
|
@ -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();
|
||||
|
|
Загрузка…
Ссылка в новой задаче