Lines Matching full:threads
195 static void StartJoinAndDeleteThreads(const i::List<JoinableThread*>& threads) {
196 for (int i = 0; i < threads.length(); i++) {
197 threads[i]->Start();
199 for (int i = 0; i < threads.length(); i++) {
200 threads[i]->Join();
202 for (int i = 0; i < threads.length(); i++) {
203 delete threads[i];
208 // Run many threads all locking on the same isolate
215 i::List<JoinableThread*> threads(kNThreads);
218 threads.Add(new IsolateLockingThreadWithLocalContext(isolate));
220 StartJoinAndDeleteThreads(threads);
246 // Run many threads each accessing its own isolate without locking
253 i::List<JoinableThread*> threads(kNThreads);
255 threads.Add(new IsolateNonlockingThread());
257 StartJoinAndDeleteThreads(threads);
285 // Run many threads with nested locks
293 i::List<JoinableThread*> threads(kNThreads);
295 threads.Add(new IsolateNestedLockingThread(isolate));
297 StartJoinAndDeleteThreads(threads);
327 // Run parallel threads that lock and access different isolates in parallel
336 i::List<JoinableThread*> threads(kNThreads);
338 threads.Add(new SeparateIsolatesLocksNonexclusiveThread(isolate1,
341 StartJoinAndDeleteThreads(threads);
404 // Use unlocker inside of a Locker, multiple threads.
411 i::List<JoinableThread*> threads(kNThreads);
414 threads.Add(new LockerUnlockerThread(isolate));
416 StartJoinAndDeleteThreads(threads);
465 i::List<JoinableThread*> threads(kNThreads);
468 threads.Add(new LockTwiceAndUnlockThread(isolate));
470 StartJoinAndDeleteThreads(threads);
589 i::List<JoinableThread*> threads(kNThreads);
596 threads.Add(new LockUnlockLockThread(
600 StartJoinAndDeleteThreads(threads);
647 i::List<JoinableThread*> threads(kNThreads);
654 threads.Add(new LockUnlockLockDefaultIsolateThread(context));
657 StartJoinAndDeleteThreads(threads);
738 i::List<JoinableThread*> threads(kNThreads);
740 threads.Add(new IsolateGenesisThread(8, extension_names));
742 StartJoinAndDeleteThreads(threads);