Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(68)

Unified Diff: src/libplatform/task-queue.h

Issue 1917923002: Reland "Check for semaphore alignment on posix platforms. (patchset #1 id:1 of https://codereview.c… (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/heap/mark-compact.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/libplatform/task-queue.h
diff --git a/src/libplatform/task-queue.h b/src/libplatform/task-queue.h
index efe9e07e0668efce6f2f62ab1c37d41527df13c4..24b68da04b661eb9cf5be3ba9a18fb1788431f3a 100644
--- a/src/libplatform/task-queue.h
+++ b/src/libplatform/task-queue.h
@@ -33,8 +33,8 @@ class TaskQueue {
void Terminate();
private:
- base::Mutex lock_;
base::Semaphore process_queue_semaphore_;
+ base::Mutex lock_;
std::queue<Task*> task_queue_;
bool terminated_;
« no previous file with comments | « src/heap/mark-compact.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698