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

Side by Side Diff: src/v8threads.cc

Issue 333013002: Check alpha-sorting of includes during presubmit. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 6 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/v8.cc ('k') | src/variables.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "src/v8.h" 5 #include "src/v8.h"
6 6
7 #include "src/api.h" 7 #include "src/api.h"
8 #include "src/bootstrapper.h" 8 #include "src/bootstrapper.h"
9 #include "src/debug.h" 9 #include "src/debug.h"
10 #include "src/execution.h" 10 #include "src/execution.h"
11 #include "src/regexp-stack.h"
11 #include "src/v8threads.h" 12 #include "src/v8threads.h"
12 #include "src/regexp-stack.h"
13 13
14 namespace v8 { 14 namespace v8 {
15 15
16 16
17 // Track whether this V8 instance has ever called v8::Locker. This allows the 17 // Track whether this V8 instance has ever called v8::Locker. This allows the
18 // API code to verify that the lock is always held when V8 is being entered. 18 // API code to verify that the lock is always held when V8 is being entered.
19 bool Locker::active_ = false; 19 bool Locker::active_ = false;
20 20
21 21
22 // Once the Locker is initialized, the current thread will be guaranteed to have 22 // Once the Locker is initialized, the current thread will be guaranteed to have
(...skipping 335 matching lines...) Expand 10 before | Expand all | Expand 10 after
358 state = state->Next()) { 358 state = state->Next()) {
359 if (thread_id.Equals(state->id())) { 359 if (thread_id.Equals(state->id())) {
360 state->set_terminate_on_restore(true); 360 state->set_terminate_on_restore(true);
361 } 361 }
362 } 362 }
363 } 363 }
364 364
365 365
366 } // namespace internal 366 } // namespace internal
367 } // namespace v8 367 } // namespace v8
OLDNEW
« no previous file with comments | « src/v8.cc ('k') | src/variables.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698