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

Side by Side Diff: include/v8.h

Issue 7586001: Fixed a known issue in D8 (read file), enabled D8 shared library build on Windows. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Fixed the mess where d8 was getting the BUILDING_V8_SHARED compile flag. Created 9 years, 4 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 | « SConstruct ('k') | src/SConscript » ('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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 3588 matching lines...) Expand 10 before | Expand all | Expand 10 after
3599 3599
3600 /** 3600 /**
3601 * Returns whether or not the locker for a given isolate, or default isolate i f NULL is given, 3601 * Returns whether or not the locker for a given isolate, or default isolate i f NULL is given,
3602 * is locked by the current thread. 3602 * is locked by the current thread.
3603 */ 3603 */
3604 static bool IsLocked(Isolate* isolate = NULL); 3604 static bool IsLocked(Isolate* isolate = NULL);
3605 3605
3606 /** 3606 /**
3607 * Returns whether v8::Locker is being used by this V8 instance. 3607 * Returns whether v8::Locker is being used by this V8 instance.
3608 */ 3608 */
3609 static bool IsActive() { return active_; } 3609 static bool IsActive();
3610 3610
3611 private: 3611 private:
3612 bool has_lock_; 3612 bool has_lock_;
3613 bool top_level_; 3613 bool top_level_;
3614 internal::Isolate* isolate_; 3614 internal::Isolate* isolate_;
3615 3615
3616 static bool active_; 3616 static bool active_;
3617 3617
3618 // Disallow copying and assigning. 3618 // Disallow copying and assigning.
3619 Locker(const Locker&); 3619 Locker(const Locker&);
(...skipping 581 matching lines...) Expand 10 before | Expand all | Expand 10 after
4201 4201
4202 4202
4203 } // namespace v8 4203 } // namespace v8
4204 4204
4205 4205
4206 #undef V8EXPORT 4206 #undef V8EXPORT
4207 #undef TYPE_CHECK 4207 #undef TYPE_CHECK
4208 4208
4209 4209
4210 #endif // V8_H_ 4210 #endif // V8_H_
OLDNEW
« no previous file with comments | « SConstruct ('k') | src/SConscript » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698