зеркало из https://github.com/mozilla/gecko-dev.git
bump up imap thread priority a little bit higher than normal to prevent the deadlock
This commit is contained in:
Родитель
00907a41d1
Коммит
297a6f561c
|
@ -460,7 +460,7 @@ void nsImapProtocol::SetupWithUrl(nsIURL * aURL)
|
|||
m_fetchMsgListMonitor = PR_NewMonitor();
|
||||
|
||||
m_thread = PR_CreateThread(PR_USER_THREAD, ImapThreadMain, (void*)
|
||||
this, PR_PRIORITY_NORMAL, PR_LOCAL_THREAD,
|
||||
this, PR_PRIORITY_HIGH, PR_LOCAL_THREAD,
|
||||
PR_UNJOINABLE_THREAD, 0);
|
||||
NS_ASSERTION(m_thread, "Unable to create imap thread.\n");
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче