Hey,

from V8 version 3.28 on and going forward, embedders should provide an
implementation of the v8::Platform interface (defined in
include/v8-platform.h). In the future, we will use this interface to run GC
related background tasks and optimizing compiler tasks instead of spinning
up threads internally.

For your convenience (and for the test runners...) we bundled a default
implementation with V8: You can include the header
include/libplatform/libplatform.h and link against
libv8_libplatform.(a|lib). The library defines a factory method to create
an instance of the platform implementation, and a method you should
regularly call from your main loop to run tasks scheduled for the main
thread.

The platform instance has to be registered with V8 using
v8::V8::InitializePlatform() and deregistered with
v8::V8::ShutdownPlatform().

best
-jochen

-- 
-- 
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users
--- 
You received this message because you are subscribed to the Google Groups 
"v8-users" 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/d/optout.

Reply via email to