v8/include/libplatform
Ulan Degenbaev a18a674bb8 [api] Introduce a single-threaded version of DefaultPlatform
The new platform can be used in combination with --single-threaded.
It disables background threads and thus avoids waiting on mutexes
and condition variables completely, which is useful for V8 embedders
that fork the V8 process after initialization.

As a bonus the new platform allows use to test --single-threaded and
has already uncovered an existing bug in parallel pointer updating code.

Change-Id: I3446fa027d2a077641cdaac0cd08062a1acae176
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2416501
Commit-Queue: Ulan Degenbaev <ulan@chromium.org>
Reviewed-by: Michael Lippautz <mlippautz@chromium.org>
Cr-Commit-Position: refs/heads/master@{#71187}
2020-11-13 17:20:58 +00:00
..
DEPS Turn libplatform into a component 2016-10-10 08:52:06 +00:00
libplatform-export.h Turn libplatform into a component 2016-10-10 08:52:06 +00:00
libplatform.h [api] Introduce a single-threaded version of DefaultPlatform 2020-11-13 17:20:58 +00:00
v8-tracing.h Fix LINT exceptions across the code base 2020-04-27 16:37:04 +00:00