Commit 4a801c21 authored by Ben Noordhuis's avatar Ben Noordhuis
Browse files

src: drop homegrown thread pool, use libplatform

Drop the homegrown thread pool that was introduced in commit 50839a04
("v8_platform: provide default v8::Platform impl") and use one from
V8's libplatform library.  Performance is comparable and it removes
a few hundred lines of code.

The calls to v8::platform::PumpMessageLoop() are currently no-ops
because V8 does not (yet?) use v8::Platform::CallOnForegroundThread().

Packagers that link against a shared libv8 now also need to make
libv8_platform available.

PR-URL: https://github.com/iojs/io.js/pull/1329


Reviewed-By: default avatarFedor Indutny <fedor@indutny.com>
parent 87053e8a
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment