Reviewers: jochen,

Message:
Reverted last change because it broke the shared builders + Arm builder.

Patch #1 is previous, patch #2 has fixes.

Description:
Add d8 API for spawning function on a new thread (Second try)

This API closely matches the Worker API. The differences:

1) The argument to the Worker constructor is a function to run, not a script. 2) Receiving a message from a worker is a synchronous API (as there is no event
loop).

The serialization done here is not robust as the real DOM implementation. For
example, recursive data structures or otherwise duplicated objects are not
allowed.

BUG=chromium:497295
[email protected]
LOG=n

Review URL: https://codereview.chromium.org/1185643004

Cr-Commit-Position: refs/heads/master@{#29126}

Please review this at https://codereview.chromium.org/1195613003/

Base URL: https://chromium.googlesource.com/v8/v8.git@master

Affected files (+830, -7 lines):
  M src/d8.h
  M src/d8.cc
  A test/mjsunit/d8-worker.js


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