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

Side by Side Diff: include/v8.h

Issue 637263002: Fix data races and leaks related to v8::Lockers (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 2 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 | « no previous file | src/isolate.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 /** \mainpage V8 API Reference Guide 5 /** \mainpage V8 API Reference Guide
6 * 6 *
7 * V8 is Google's open source JavaScript engine. 7 * V8 is Google's open source JavaScript engine.
8 * 8 *
9 * This set of documents provides reference material generated from the 9 * This set of documents provides reference material generated from the
10 * V8 header file, include/v8.h. 10 * V8 header file, include/v8.h.
(...skipping 5783 matching lines...) Expand 10 before | Expand all | Expand 10 after
5794 */ 5794 */
5795 static bool IsActive(); 5795 static bool IsActive();
5796 5796
5797 private: 5797 private:
5798 void Initialize(Isolate* isolate); 5798 void Initialize(Isolate* isolate);
5799 5799
5800 bool has_lock_; 5800 bool has_lock_;
5801 bool top_level_; 5801 bool top_level_;
5802 internal::Isolate* isolate_; 5802 internal::Isolate* isolate_;
5803 5803
5804 static bool active_;
5805
5806 // Disallow copying and assigning. 5804 // Disallow copying and assigning.
5807 Locker(const Locker&); 5805 Locker(const Locker&);
5808 void operator=(const Locker&); 5806 void operator=(const Locker&);
5809 }; 5807 };
5810 5808
5811 5809
5812 // --- Implementation --- 5810 // --- Implementation ---
5813 5811
5814 5812
5815 namespace internal { 5813 namespace internal {
(...skipping 1233 matching lines...) Expand 10 before | Expand all | Expand 10 after
7049 */ 7047 */
7050 7048
7051 7049
7052 } // namespace v8 7050 } // namespace v8
7053 7051
7054 7052
7055 #undef TYPE_CHECK 7053 #undef TYPE_CHECK
7056 7054
7057 7055
7058 #endif // V8_H_ 7056 #endif // V8_H_
OLDNEW
« no previous file with comments | « no previous file | src/isolate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698