Deprecate v8::Locker::{Start,Stop}Preemption
BUG=v8:3004 R=svenpanne@chromium.org Review URL: https://codereview.chromium.org/63173022 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17736 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
fe70e2d694
commit
c6705f5e40
16
include/v8.h
16
include/v8.h
@ -5246,19 +5246,11 @@ class V8_EXPORT Locker {
|
||||
|
||||
~Locker();
|
||||
|
||||
/**
|
||||
* Start preemption.
|
||||
*
|
||||
* When preemption is started, a timer is fired every n milliseconds
|
||||
* that will switch between multiple threads that are in contention
|
||||
* for the V8 lock.
|
||||
*/
|
||||
static void StartPreemption(Isolate* isolate, int every_n_ms);
|
||||
V8_DEPRECATED("This will be remvoed.",
|
||||
static void StartPreemption(Isolate *isolate, int every_n_ms));
|
||||
|
||||
/**
|
||||
* Stop preemption.
|
||||
*/
|
||||
static void StopPreemption(Isolate* isolate);
|
||||
V8_DEPRECATED("This will be removed",
|
||||
static void StopPreemption(Isolate* isolate));
|
||||
|
||||
/**
|
||||
* Returns whether or not the locker for a given isolate, is locked by the
|
||||
|
Loading…
Reference in New Issue
Block a user