Lines Matching refs:threads
194 static void StartJoinAndDeleteThreads(const i::List<JoinableThread*>& threads) { in StartJoinAndDeleteThreads() argument
195 for (int i = 0; i < threads.length(); i++) { in StartJoinAndDeleteThreads()
196 threads[i]->Start(); in StartJoinAndDeleteThreads()
198 for (int i = 0; i < threads.length(); i++) { in StartJoinAndDeleteThreads()
199 threads[i]->Join(); in StartJoinAndDeleteThreads()
201 for (int i = 0; i < threads.length(); i++) { in StartJoinAndDeleteThreads()
202 delete threads[i]; in StartJoinAndDeleteThreads()
214 i::List<JoinableThread*> threads(kNThreads); in TEST() local
217 threads.Add(new IsolateLockingThreadWithLocalContext(isolate)); in TEST()
219 StartJoinAndDeleteThreads(threads); in TEST()
252 i::List<JoinableThread*> threads(kNThreads); in TEST() local
254 threads.Add(new IsolateNonlockingThread()); in TEST()
256 StartJoinAndDeleteThreads(threads); in TEST()
292 i::List<JoinableThread*> threads(kNThreads); in TEST() local
294 threads.Add(new IsolateNestedLockingThread(isolate)); in TEST()
296 StartJoinAndDeleteThreads(threads); in TEST()
335 i::List<JoinableThread*> threads(kNThreads); in TEST() local
337 threads.Add(new SeparateIsolatesLocksNonexclusiveThread(isolate1, in TEST()
340 StartJoinAndDeleteThreads(threads); in TEST()
410 i::List<JoinableThread*> threads(kNThreads); in TEST() local
413 threads.Add(new LockerUnlockerThread(isolate)); in TEST()
415 StartJoinAndDeleteThreads(threads); in TEST()
464 i::List<JoinableThread*> threads(kNThreads); in TEST() local
467 threads.Add(new LockTwiceAndUnlockThread(isolate)); in TEST()
469 StartJoinAndDeleteThreads(threads); in TEST()
588 i::List<JoinableThread*> threads(kNThreads); in TEST() local
595 threads.Add(new LockUnlockLockThread( in TEST()
599 StartJoinAndDeleteThreads(threads); in TEST()
646 i::List<JoinableThread*> threads(kNThreads); in TEST() local
653 threads.Add(new LockUnlockLockDefaultIsolateThread(context)); in TEST()
656 StartJoinAndDeleteThreads(threads); in TEST()
739 i::List<JoinableThread*> threads(kNThreads); in TEST() local
741 threads.Add(new IsolateGenesisThread(8, extension_names)); in TEST()
743 StartJoinAndDeleteThreads(threads); in TEST()