Lines Matching defs:threads
1730 // Test that data sent from other threads is gathered
1748 // Test that data sent from multiple threads is gathered
1754 Thread* threads[num_threads];
1757 threads[i] = new Thread(StringPrintf("Thread %d", i));
1761 threads[i]->Start();
1762 threads[i]->task_runner()->PostTask(
1771 // Let half of the threads end before flush.
1773 threads[i]->Stop();
1774 delete threads[i];
1782 // Let the other half of the threads end after flush.
1784 threads[i]->Stop();
1785 delete threads[i];
1792 // Create threads before we enable tracing to make sure
1796 Thread* threads[kNumThreads];
1799 threads[i] = new Thread(StringPrintf("Thread %d", i));
1804 // Now run some trace code on these threads.
1810 threads[i]->Start();
1811 thread_ids[i] = threads[i]->GetThreadId();
1812 threads[i]->task_runner()->PostTask(
1822 threads[i]->Stop();
1823 delete threads[i];
1834 // Note, the test suite may have created a ton of threads.
1835 // So, we'll have thread names for threads we didn't create.
1843 // See if this thread name is one of the threads we just created