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

Side by Side Diff: src/debug.h

Issue 12678015: Fix isolate getter in DebugAgent (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 9 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/debug.cc » ('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 // 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 1023 matching lines...) Expand 10 before | Expand all | Expand 10 after
1034 class MessageDispatchHelperThread: public Thread { 1034 class MessageDispatchHelperThread: public Thread {
1035 public: 1035 public:
1036 explicit MessageDispatchHelperThread(Isolate* isolate); 1036 explicit MessageDispatchHelperThread(Isolate* isolate);
1037 ~MessageDispatchHelperThread(); 1037 ~MessageDispatchHelperThread();
1038 1038
1039 void Schedule(); 1039 void Schedule();
1040 1040
1041 private: 1041 private:
1042 void Run(); 1042 void Run();
1043 1043
1044 Isolate* isolate_;
1044 Semaphore* const sem_; 1045 Semaphore* const sem_;
1045 Mutex* const mutex_; 1046 Mutex* const mutex_;
1046 bool already_signalled_; 1047 bool already_signalled_;
1047 1048
1048 DISALLOW_COPY_AND_ASSIGN(MessageDispatchHelperThread); 1049 DISALLOW_COPY_AND_ASSIGN(MessageDispatchHelperThread);
1049 }; 1050 };
1050 1051
1051 1052
1052 } } // namespace v8::internal 1053 } } // namespace v8::internal
1053 1054
1054 #endif // ENABLE_DEBUGGER_SUPPORT 1055 #endif // ENABLE_DEBUGGER_SUPPORT
1055 1056
1056 #endif // V8_DEBUG_H_ 1057 #endif // V8_DEBUG_H_
OLDNEW
« no previous file with comments | « no previous file | src/debug.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698