aboutsummaryrefslogtreecommitdiffstats
path: root/community/chromium/musl-v8-monotonic-pthread-cont_timedwait.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/chromium/musl-v8-monotonic-pthread-cont_timedwait.patch')
-rw-r--r--community/chromium/musl-v8-monotonic-pthread-cont_timedwait.patch6
1 files changed, 2 insertions, 4 deletions
diff --git a/community/chromium/musl-v8-monotonic-pthread-cont_timedwait.patch b/community/chromium/musl-v8-monotonic-pthread-cont_timedwait.patch
index 33a8ea32c9..768027d2be 100644
--- a/community/chromium/musl-v8-monotonic-pthread-cont_timedwait.patch
+++ b/community/chromium/musl-v8-monotonic-pthread-cont_timedwait.patch
@@ -1,10 +1,8 @@
Use monotonic clock for pthread_cond_timedwait with musl too.
-diff --git a/v8/src/base/platform/condition-variable.cc b/v8/src/base/platform/condition-variable.cc
-index 5ea7083..c13027e 100644
--- ./v8/src/base/platform/condition-variable.cc
+++ ./v8/src/base/platform/condition-variable.cc
-@@ -16,7 +16,7 @@ namespace base {
+@@ -16,7 +16,7 @@
ConditionVariable::ConditionVariable() {
#if (V8_OS_FREEBSD || V8_OS_NETBSD || V8_OS_OPENBSD || \
@@ -13,7 +11,7 @@ index 5ea7083..c13027e 100644
// On Free/Net/OpenBSD and Linux with glibc we can change the time
// source for pthread_cond_timedwait() to use the monotonic clock.
pthread_condattr_t attr;
-@@ -92,7 +92,7 @@ bool ConditionVariable::WaitFor(Mutex* mutex, const TimeDelta& rel_time) {
+@@ -92,7 +92,7 @@
&native_handle_, &mutex->native_handle(), &ts);
#else
#if (V8_OS_FREEBSD || V8_OS_NETBSD || V8_OS_OPENBSD || \