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

Side by Side Diff: include/v8.h

Issue 795003: Version 2.1.2.7... (Closed) Base URL: http://v8.googlecode.com/svn/trunk/
Patch Set: Created 10 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/api.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 2007-2009 the V8 project authors. All rights reserved. 1 // Copyright 2007-2009 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 2424 matching lines...) Expand 10 before | Expand all | Expand 10 after
2435 2435
2436 /** 2436 /**
2437 * Forcefully terminate the current thread of JavaScript execution. 2437 * Forcefully terminate the current thread of JavaScript execution.
2438 * 2438 *
2439 * This method can be used by any thread even if that thread has not 2439 * This method can be used by any thread even if that thread has not
2440 * acquired the V8 lock with a Locker object. 2440 * acquired the V8 lock with a Locker object.
2441 */ 2441 */
2442 static void TerminateExecution(); 2442 static void TerminateExecution();
2443 2443
2444 /** 2444 /**
2445 * Is V8 terminating JavaScript execution.
2446 *
2447 * Returns true if JavaScript execution is currently terminating
2448 * because of a call to TerminateExecution. In that case there are
2449 * still JavaScript frames on the stack and the termination
2450 * exception is still active.
2451 */
2452 static bool IsExecutionTerminating();
2453
2454 /**
2455 * Releases any resources used by v8 and stops any utility threads 2445 * Releases any resources used by v8 and stops any utility threads
2456 * that may be running. Note that disposing v8 is permanent, it 2446 * that may be running. Note that disposing v8 is permanent, it
2457 * cannot be reinitialized. 2447 * cannot be reinitialized.
2458 * 2448 *
2459 * It should generally not be necessary to dispose v8 before exiting 2449 * It should generally not be necessary to dispose v8 before exiting
2460 * a process, this should happen automatically. It is only necessary 2450 * a process, this should happen automatically. It is only necessary
2461 * to use if the process needs the resources taken up by v8. 2451 * to use if the process needs the resources taken up by v8.
2462 */ 2452 */
2463 static bool Dispose(); 2453 static bool Dispose();
2464 2454
(...skipping 826 matching lines...) Expand 10 before | Expand all | Expand 10 after
3291 3281
3292 } // namespace v8 3282 } // namespace v8
3293 3283
3294 3284
3295 #undef V8EXPORT 3285 #undef V8EXPORT
3296 #undef V8EXPORT_INLINE 3286 #undef V8EXPORT_INLINE
3297 #undef TYPE_CHECK 3287 #undef TYPE_CHECK
3298 3288
3299 3289
3300 #endif // V8_H_ 3290 #endif // V8_H_
OLDNEW
« no previous file with comments | « no previous file | src/api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698