Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 122427 Details for
Bug 182490
make firefox sleep deeper
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
this patch fixed the behaviour (at least on 2.0.0.4 as in current portage-tree) , just put it into the patch-tarball of firefox...
043_firefox_dalay.patch (text/plain), 1.74 KB, created by
Immo 'FaUl' Wehrenberg
on 2007-06-18 18:09:38 UTC
(
hide
)
Description:
this patch fixed the behaviour (at least on 2.0.0.4 as in current portage-tree) , just put it into the patch-tarball of firefox...
Filename:
MIME Type:
Creator:
Immo 'FaUl' Wehrenberg
Created:
2007-06-18 18:09:38 UTC
Size:
1.74 KB
patch
obsolete
>diff -ru mozilla/security/manager/ssl/src/nsCertVerificationThread.cpp mozilla-diff/security/manager/ssl/src/nsCertVerificationThread.cpp >--- mozilla/security/manager/ssl/src/nsCertVerificationThread.cpp 2006-04-14 00:07:18.000000000 +0200 >+++ mozilla-diff/security/manager/ssl/src/nsCertVerificationThread.cpp 2007-06-18 18:32:13.169975833 +0200 >@@ -123,12 +123,8 @@ > return NS_OK; > } > >-#define CONDITION_WAIT_TIME PR_TicksPerSecond() / 4 >- > void nsCertVerificationThread::Run(void) > { >- const PRIntervalTime wait_time = CONDITION_WAIT_TIME; >- > while (PR_TRUE) { > > nsBaseVerificationJob *job = nsnull; >@@ -139,7 +135,7 @@ > while (!mExitRequested && (0 == verification_thread_singleton->mJobQ.GetSize())) { > // no work to do ? let's wait a moment > >- PR_WaitCondVar(mCond, wait_time); >+ PR_WaitCondVar(mCond, PR_INTERVAL_NO_TIMEOUT); > } > > if (mExitRequested) >diff -ru mozilla/security/manager/ssl/src/nsSSLThread.cpp mozilla-diff/security/manager/ssl/src/nsSSLThread.cpp >--- mozilla/security/manager/ssl/src/nsSSLThread.cpp 2007-04-03 19:00:42.000000000 +0200 >+++ mozilla-diff/security/manager/ssl/src/nsSSLThread.cpp 2007-06-18 18:35:30.672955121 +0200 >@@ -386,6 +386,8 @@ > > close_later = PR_TRUE; > ssl_thread_singleton->mSocketScheduledToBeDestroyed = si; >+ >+ PR_NotifyAllCondVar(ssl_thread_singleton->mCond); > } > } > >@@ -875,8 +877,7 @@ > { > // no work to do ? let's wait a moment > >- PRIntervalTime wait_time = PR_TicksPerSecond() / 4; >- PR_WaitCondVar(mCond, wait_time); >+ PR_WaitCondVar(mCond, PR_INTERVAL_NO_TIMEOUT); > } > > } while (!pending_work && !mExitRequested && !mSocketScheduledToBeDestroyed); >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 182490
: 122427