Lines Matching refs:threads
192 static void StartJoinAndDeleteThreads(const i::List<JoinableThread*>& threads) { in StartJoinAndDeleteThreads() argument
193 for (int i = 0; i < threads.length(); i++) { in StartJoinAndDeleteThreads()
194 threads[i]->Start(); in StartJoinAndDeleteThreads()
196 for (int i = 0; i < threads.length(); i++) { in StartJoinAndDeleteThreads()
197 threads[i]->Join(); in StartJoinAndDeleteThreads()
199 for (int i = 0; i < threads.length(); i++) { in StartJoinAndDeleteThreads()
200 delete threads[i]; in StartJoinAndDeleteThreads()
212 i::List<JoinableThread*> threads(kNThreads); in TEST() local
215 threads.Add(new IsolateLockingThreadWithLocalContext(isolate)); in TEST()
217 StartJoinAndDeleteThreads(threads); in TEST()
249 i::List<JoinableThread*> threads(kNThreads); in TEST() local
251 threads.Add(new IsolateNonlockingThread()); in TEST()
253 StartJoinAndDeleteThreads(threads); in TEST()
288 i::List<JoinableThread*> threads(kNThreads); in TEST() local
290 threads.Add(new IsolateNestedLockingThread(isolate)); in TEST()
292 StartJoinAndDeleteThreads(threads); in TEST()
329 i::List<JoinableThread*> threads(kNThreads); in TEST() local
331 threads.Add(new SeparateIsolatesLocksNonexclusiveThread(isolate1, in TEST()
334 StartJoinAndDeleteThreads(threads); in TEST()
401 i::List<JoinableThread*> threads(kNThreads); in TEST() local
404 threads.Add(new LockerUnlockerThread(isolate)); in TEST()
406 StartJoinAndDeleteThreads(threads); in TEST()
454 i::List<JoinableThread*> threads(kNThreads); in TEST() local
457 threads.Add(new LockTwiceAndUnlockThread(isolate)); in TEST()
459 StartJoinAndDeleteThreads(threads); in TEST()
583 i::List<JoinableThread*> threads(kNThreads); in TEST() local
585 threads.Add(new LockUnlockLockThread(isolate, context)); in TEST()
587 StartJoinAndDeleteThreads(threads); in TEST()
632 i::List<JoinableThread*> threads(kNThreads); in TEST() local
634 threads.Add(new LockUnlockLockDefaultIsolateThread(context)); in TEST()
636 StartJoinAndDeleteThreads(threads); in TEST()
717 i::List<JoinableThread*> threads(kNThreads); in TEST() local
719 threads.Add(new IsolateGenesisThread(8, extension_names)); in TEST()
721 StartJoinAndDeleteThreads(threads); in TEST()