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

Side by Side Diff: src/execution.h

Issue 11142013: Add methods to allow resuming execution after calling TerminateExecution(). (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 8 years 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
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 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 // it has been set up. 187 // it has been set up.
188 void ClearThread(const ExecutionAccess& lock); 188 void ClearThread(const ExecutionAccess& lock);
189 189
190 bool IsStackOverflow(); 190 bool IsStackOverflow();
191 bool IsPreempted(); 191 bool IsPreempted();
192 void Preempt(); 192 void Preempt();
193 bool IsInterrupted(); 193 bool IsInterrupted();
194 void Interrupt(); 194 void Interrupt();
195 bool IsTerminateExecution(); 195 bool IsTerminateExecution();
196 void TerminateExecution(); 196 void TerminateExecution();
197 void ResumeExecution();
197 bool IsRuntimeProfilerTick(); 198 bool IsRuntimeProfilerTick();
198 void RequestRuntimeProfilerTick(); 199 void RequestRuntimeProfilerTick();
199 bool IsCodeReadyEvent(); 200 bool IsCodeReadyEvent();
200 void RequestCodeReadyEvent(); 201 void RequestCodeReadyEvent();
201 #ifdef ENABLE_DEBUGGER_SUPPORT 202 #ifdef ENABLE_DEBUGGER_SUPPORT
202 bool IsDebugBreak(); 203 bool IsDebugBreak();
203 void DebugBreak(); 204 void DebugBreak();
204 bool IsDebugCommand(); 205 bool IsDebugCommand();
205 void DebugCommand(); 206 void DebugCommand();
206 #endif 207 #endif
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
304 friend class StackLimitCheck; 305 friend class StackLimitCheck;
305 friend class PostponeInterruptsScope; 306 friend class PostponeInterruptsScope;
306 307
307 DISALLOW_COPY_AND_ASSIGN(StackGuard); 308 DISALLOW_COPY_AND_ASSIGN(StackGuard);
308 }; 309 };
309 310
310 311
311 } } // namespace v8::internal 312 } } // namespace v8::internal
312 313
313 #endif // V8_EXECUTION_H_ 314 #endif // V8_EXECUTION_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698