You can not declare handle scope in a thread that does not yet own V8
Isolate. You should enter an Isolate first.

--
Vyacheslav Egorov

On Mon, Oct 10, 2011 at 1:02 PM, Adrian <adrianbash...@gmail.com> wrote:

> Hi,
>
> This is the exact, complete program, that is failing..
>
> class TestThread : public Thread::Thread
>
> {
>
> public:
>
>       TestThread(){};
>
>       void TestThread::run()
>
>       {
>
>         v8::HandleScope scope;//<--This failes
>
>       }
>
> };
>
>
> int main(int argc, const char* argv[])
>
> {
>
>   v8::HandleScope scope; //<--This works
>
>   TestThread mythread;
>
>   mythread.start();
>
>   mythread.waitDone();
>
> }
>
>
>  --
> v8-users mailing list
> v8-users@googlegroups.com
> http://groups.google.com/group/v8-users
>

-- 
v8-users mailing list
v8-users@googlegroups.com
http://groups.google.com/group/v8-users

Reply via email to