Reviewers: Yury Semikhatsky,

Description:
[Isolates] Allow running multiple isolates in shell and use this in tests.

Sample usage (prints a sequence of mixed 1's and 2's):
  $ ./shell_g -e 'while (1) print(1)' --isolate -e 'while (1) print(2)'

The first group of source files (before the first --isolate) is run in
the default isolate. All the other groups are run in separate isolate
threads.

It would be nice to use our platform.h but it drags too many includes,
so I'm using pthreads on anything non-WIN32 for now.

Please review this at http://codereview.chromium.org/3601010/show

Affected files:
  M samples/shell.cc
  M src/allocation-inl.h
  M src/isolate.h
  M src/isolate.cc
  M src/top.cc
  M test/mjsunit/testcfg.py
  M tools/liststatics.sh
  M tools/statics.whitelist
  M tools/test.py


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

Reply via email to