Reviewers: Sven Panne,

Description:
Deprecate v8::Locker::{Start,Stop}Preemption

BUG=v8:3004
[email protected]

Please review this at https://codereview.chromium.org/63173022/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files (+4, -12 lines):
  M include/v8.h


Index: include/v8.h
diff --git a/include/v8.h b/include/v8.h
index d6678c57c5a03ab1eb3e7a937dc1be3a6cc45dcc..f0b627e7b79c16c05f5c64beedb572587889291e 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


--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to