diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2015-04-02 23:51:01 +0200 |
---|---|---|
committer | Ben Noordhuis <info@bnoordhuis.nl> | 2015-04-04 00:21:39 +0200 |
commit | 4a801c211c8fec4df97748a740f98fa09f11b3d9 (patch) | |
tree | 5b527f20d92e0a1c09c29a219845902e06b836a6 /configure | |
parent | 87053e8aee527ec2eb6ac4db2a476e20e1c5f23b (diff) | |
download | node-new-4a801c211c8fec4df97748a740f98fa09f11b3d9.tar.gz |
src: drop homegrown thread pool, use libplatform
Drop the homegrown thread pool that was introduced in commit 50839a0
("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: Fedor Indutny <fedor@indutny.com>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -664,7 +664,7 @@ def configure_v8(o): if options.shared_v8_libname: o['libraries'] += ['-l%s' % options.shared_v8_libname] elif options.shared_v8: - o['libraries'] += ['-lv8'] + o['libraries'] += ['-lv8', '-lv8_platform'] if options.shared_v8_includes: o['include_dirs'] += [options.shared_v8_includes] |