There are two options: (1) use different isolates on each thread (then the scripts can run in parallel) and (2) use one isolate and use v8::Locker to lock the isolate before you use it (then only one thread at a time can execute scripts)
best -jochen On Fri, Jan 31, 2014 at 9:51 AM, Sara Abdelhameed < saraabdelhameed1...@gmail.com> wrote: > Hello all, > does v8 engine support multithreaded application ? and could I run two > different javascript code in two different threads at the same time ? > > -- > -- > v8-users mailing list > v8-users@googlegroups.com > 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 v8-users+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out. > -- -- v8-users mailing list v8-users@googlegroups.com 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 v8-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.