-
Notifications
You must be signed in to change notification settings - Fork 29.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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: #1329 Reviewed-By: Fedor Indutny <fedor@indutny.com>
- Loading branch information
1 parent
87053e8
commit 4a801c2
Showing
5 changed files
with
18 additions
and
257 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.