| /src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/tests/ |
| malloc_stress_transfer_test.cc | 31 std::thread *Threads[kNumThreads]; 32 for (auto &T : Threads) T = new std::thread(&Thread); 33 for (auto T : Threads) {
|
| /src/external/apache2/llvm/dist/llvm/lib/Support/ |
| Parallel.cpp | 45 // Spawn all but one of the threads in another thread as spawning threads 47 Threads.reserve(ThreadCount); 48 Threads.resize(1); 50 Threads[0] = std::thread([this, ThreadCount, S] { 52 Threads.emplace_back([=] { work(S, I); }); 75 for (std::thread &T : Threads) 117 std::vector<std::thread> Threads; 124 // but does not wait for the threads to finish. The wait for worker thread 130 // destructor ensures it has been stopped and waits for worker threads t [all...] |
| ThreadPool.cpp | 25 // Create ThreadCount threads that will loop forever, wait on QueueCondition 27 Threads.reserve(ThreadCount); 29 Threads.emplace_back([S, ThreadID, this] { 70 // Wait for all threads to complete and the queue to be empty 92 // The destructor joins all threads, waiting for completion. 99 for (auto &Worker : Threads) 105 // No threads are launched, issue a warning if ThreadCount is not 0 110 << " threads, but LLVM_ENABLE_THREADS has been turned off\n";
|
| /src/external/apache2/llvm/dist/llvm/include/llvm/Support/ |
| ThreadPool.h | 33 /// threads. 35 /// The pool keeps a vector of threads alive, waiting on a condition variable 43 /// execution resources (threads, cores, CPUs) 48 /// Blocking destructor: the pool will wait for all the threads to complete. 67 /// Blocking wait for all the threads to complete and the queue to be empty. 80 /// Threads in flight 81 std::vector<llvm::thread> Threads;
|
| /src/external/apache2/llvm/dist/llvm/tools/dsymutil/ |
| LinkUtils.h | 49 /// Number of threads. 50 unsigned Threads = 1;
|
| dsymutil.cpp | 286 Options.LinkOpts.Threads = atoi(NumThreads->getValue()); 288 Options.LinkOpts.Threads = 0; // Use all available hardware threads 291 Options.LinkOpts.Threads = 1; 585 // thread pool strategy here instead of modifying LinkOpts.Threads. 587 Options.LinkOpts.Statistics ? 1 : Options.LinkOpts.Threads); 588 if (Options.LinkOpts.Threads == 0) { 590 // the number of hardware threads. 594 ThreadPool Threads(S); 667 // out the (significantly smaller) stack when using threads. We don' [all...] |
| DwarfLinkerForBinary.cpp | 325 GeneralLinker.setNumThreads(Options.Threads);
|
| /src/sys/external/bsd/acpica/dist/debugger/ |
| dbexec.c | 535 * Allow any handlers in separate threads to complete. 624 * Prevent AcpiGbl_DbMethodInfo from being modified by multiple threads 640 if (Info->Threads && (Info->NumCreated < Info->NumThreads)) 642 Info->Threads[Info->NumCreated++] = AcpiOsGetThreadId(); 836 * PARAMETERS: NumThreadsArg - Number of threads to create 842 * DESCRIPTION: Create threads to execute method(s) 869 AcpiOsPrintf ("Bad argument: Threads %X, Loops %X\n", 876 * the created threads with the main thread. 889 * between the created threads. 895 "synchronization between the created threads, %s\n" [all...] |
| /src/external/mit/xorg/lib/libXt/ |
| Makefile | 20 TMstate.c Threads.c VarCreate.c VarGet.c Varargs.c Vendor.c
|
| /src/external/mit/xorg/share/cf/ |
| Makefile | 12 Threads.tmpl Win32.cf Win32.rules WinLib.tmpl X11.rules \
|
| /src/external/apache2/llvm/dist/llvm/tools/llvm-lto2/ |
| llvm-lto2.cpp | 74 // Default to using all available threads in the system, but using only one 76 // Use -thinlto-threads=all to use hardware_concurrency() instead, which means 77 // to use all hardware threads or cores in the system. 78 static cl::opt<std::string> Threads("thinlto-threads"); 316 llvm::heavyweight_hardware_concurrency(Threads));
|
| /src/external/apache2/llvm/dist/libcxx/utils/google-benchmark/test/ |
| benchmark_test.cc | 80 BENCHMARK(BM_CalculatePi)->Threads(8); 159 int thread_size = static_cast<int>(size) / state.threads; 170 // do not overlap between threads. 226 assert(st.threads == 1 || st.threads == 2 || st.threads == 3); 229 assert(st.threads == 1 || st.threads == 3 || st.threads == 4); 232 assert(st.threads == 5 || st.threads == 8 || st.threads == 11 | [all...] |
| /src/external/apache2/llvm/dist/llvm/utils/benchmark/test/ |
| benchmark_test.cc | 80 BENCHMARK(BM_CalculatePi)->Threads(8); 159 int thread_size = static_cast<int>(size) / state.threads; 170 // do not overlap between threads. 226 assert(st.threads == 1 || st.threads == 2 || st.threads == 3); 229 assert(st.threads == 1 || st.threads == 3 || st.threads == 4); 232 assert(st.threads == 5 || st.threads == 8 || st.threads == 11 | [all...] |
| /src/external/apache2/llvm/dist/llvm/include/llvm/DWARFLinker/ |
| DWARFLinker.h | 289 /// Use specified number of threads for parallel files linking. 290 void setNumThreads(unsigned NumThreads) { Options.Threads = NumThreads; } 794 /// Number of threads. 795 unsigned Threads = 1;
|
| /src/external/apache2/llvm/dist/llvm/lib/ObjectYAML/ |
| MinidumpYAML.cpp | 371 IO.mapRequired("Threads", Stream.Entries); 537 std::vector<ThreadListStream::entry_type> Threads; 545 Threads.push_back({T, *ExpectedStack, *ExpectedContext}); 547 return std::make_unique<ThreadListStream>(std::move(Threads));
|
| /src/external/apache2/llvm/dist/libcxx/utils/google-benchmark/src/ |
| benchmark_register.cc | 170 instance.threads = num_threads; 207 // Add the number of threads used to the name 209 instance.name += StrFormat("/threads:%d", instance.threads); 428 Benchmark* Benchmark::Threads(int t) {
|
| /src/external/apache2/llvm/dist/llvm/utils/benchmark/src/ |
| benchmark_register.cc | 170 instance.threads = num_threads; 202 // Add the number of threads used to the name 204 instance.name += StrFormat("/threads:%d", instance.threads); 407 Benchmark* Benchmark::Threads(int t) {
|
| /src/sys/external/bsd/acpica/dist/include/ |
| aclocal.h | 1426 ACPI_THREAD_ID *Threads; 1439 * Arguments to be passed to method for the commands Threads and 1442 * For the Threads command, the Number of threads, ID of current
|
| /src/external/apache2/llvm/dist/libcxx/utils/google-benchmark/include/benchmark/ |
| benchmark.h | 138 In a multithreaded test, it is guaranteed that none of the threads will start 154 BENCHMARK(BM_MultiThreaded)->Threads(4); 358 // presented divided by the number of threads. 501 // NOTE: The "real time" measurement is per-thread. If different threads 531 // calls to `KeepRunning()` will block until all threads have completed 532 // the `KeepRunning()` loop. If multiple threads report an error only the 664 // Index of the executing thread. Values from [0, threads). 666 // Number of threads concurrently executing the benchmark. 667 const int threads; member in class:benchmark::internal::State 843 // Threads, etc [all...] |
| /src/external/apache2/llvm/dist/llvm/utils/benchmark/include/benchmark/ |
| benchmark.h | 138 In a multithreaded test, it is guaranteed that none of the threads will start 154 BENCHMARK(BM_MultiThreaded)->Threads(4); 367 // presented divided by the number of threads. 472 // NOTE: The "real time" measurement is per-thread. If different threads 502 // calls to `KeepRunning()` will block until all threads have completed 503 // the `KeepRunning()` loop. If multiple threads report an error only the 626 // Index of the executing thread. Values from [0, threads). 628 // Number of threads concurrently executing the benchmark. 629 const int threads; member in class:benchmark::State 808 // Threads, etc [all...] |
| /src/external/bsd/libevent/dist/ |
| CMakeLists.txt | 862 find_package(Threads REQUIRED)
|
| /src/external/bsd/ntp/dist/sntp/libevent/ |
| CMakeLists.txt | 862 find_package(Threads REQUIRED)
|
| /src/external/apache2/llvm/dist/llvm/lib/DWARFLinker/ |
| DWARFLinker.cpp | 2566 if (Options.Threads == 1) {
|