OLD | NEW |
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 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
186 // it has been set up. | 186 // it has been set up. |
187 void ClearThread(const ExecutionAccess& lock); | 187 void ClearThread(const ExecutionAccess& lock); |
188 | 188 |
189 bool IsStackOverflow(); | 189 bool IsStackOverflow(); |
190 bool IsPreempted(); | 190 bool IsPreempted(); |
191 void Preempt(); | 191 void Preempt(); |
192 bool IsInterrupted(); | 192 bool IsInterrupted(); |
193 void Interrupt(); | 193 void Interrupt(); |
194 bool IsTerminateExecution(); | 194 bool IsTerminateExecution(); |
195 void TerminateExecution(); | 195 void TerminateExecution(); |
196 void ResumeExecution(); | |
197 bool IsCodeReadyEvent(); | 196 bool IsCodeReadyEvent(); |
198 void RequestCodeReadyEvent(); | 197 void RequestCodeReadyEvent(); |
199 #ifdef ENABLE_DEBUGGER_SUPPORT | 198 #ifdef ENABLE_DEBUGGER_SUPPORT |
200 bool IsDebugBreak(); | 199 bool IsDebugBreak(); |
201 void DebugBreak(); | 200 void DebugBreak(); |
202 bool IsDebugCommand(); | 201 bool IsDebugCommand(); |
203 void DebugCommand(); | 202 void DebugCommand(); |
204 #endif | 203 #endif |
205 bool IsGCRequest(); | 204 bool IsGCRequest(); |
206 void RequestGC(); | 205 void RequestGC(); |
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
302 friend class StackLimitCheck; | 301 friend class StackLimitCheck; |
303 friend class PostponeInterruptsScope; | 302 friend class PostponeInterruptsScope; |
304 | 303 |
305 DISALLOW_COPY_AND_ASSIGN(StackGuard); | 304 DISALLOW_COPY_AND_ASSIGN(StackGuard); |
306 }; | 305 }; |
307 | 306 |
308 | 307 |
309 } } // namespace v8::internal | 308 } } // namespace v8::internal |
310 | 309 |
311 #endif // V8_EXECUTION_H_ | 310 #endif // V8_EXECUTION_H_ |
OLD | NEW |