Hello,

After doing some research w.r.t. Threads within V8, I have found the
(undocumented?) v8::internal::Thread class. As for its usage, I am at
a loss. I have inspected some of the unit test codes that deal with
v8::internal::Thread, however I have not been able to yield anything
usable. I cannot even get the code to link, as it claims that the
destructor for Thread (v8::internal::~Thread) has not been defined.
The reason behind my doing this is, that I am trying to spawn a thread
that is able to invoke v8::V8::TerminateExecution after a certain
timeout has passed, in order to prevent mal[formed|icious] user
generated code from running indefinitely.

Is there perhaps a special flag that I have overlooked in the build
process that you need to specify if you wish to use
v8::internal::Thread?

Best Regards,
C. Kiewiet

-- 
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users

Reply via email to