Searched defs:thread_pool_size (Results 1 - 1 of 1) sorted by relevance

/external/chromium_org/v8/src/libplatform/
H A Ddefault-platform.cc19 v8::Platform* CreateDefaultPlatform(int thread_pool_size) { argument
21 platform->SetThreadPoolSize(thread_pool_size);
59 void DefaultPlatform::SetThreadPoolSize(int thread_pool_size) { argument
61 DCHECK(thread_pool_size >= 0);
62 if (thread_pool_size < 1) {
63 thread_pool_size = base::SysInfo::NumberOfProcessors();
66 std::max(std::min(thread_pool_size, kMaxThreadPoolSize), 1);

Completed in 121 milliseconds