From: jochen@chromium.org Date: Thu, 14 Nov 2013 11:37:32 +0000 (+0000) Subject: Deprecate v8::Locker::{Start,Stop}Preemption X-Git-Tag: upstream/4.7.83~11754 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c6705f5e40fe155b5325ae448c147e5d4b1aa1a6;p=platform%2Fupstream%2Fv8.git 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 --- diff --git a/include/v8.h b/include/v8.h index d6678c5..f0b627e 100644 --- a/include/v8.h +++ b/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