Home | History | Annotate | Download | only in cctest

Lines Matching refs:threads

196 static void StartJoinAndDeleteThreads(const i::List<JoinableThread*>& threads) {
197 for (int i = 0; i < threads.length(); i++) {
198 threads[i]->Start();
200 for (int i = 0; i < threads.length(); i++) {
201 threads[i]->Join();
203 for (int i = 0; i < threads.length(); i++) {
204 delete threads[i];
209 // Run many threads all locking on the same isolate
217 i::List<JoinableThread*> threads(kNThreads);
222 threads.Add(new IsolateLockingThreadWithLocalContext(isolate));
224 StartJoinAndDeleteThreads(threads);
253 // Run many threads with nested locks
264 i::List<JoinableThread*> threads(kNThreads);
266 threads.Add(new IsolateNestedLockingThread(isolate));
268 StartJoinAndDeleteThreads(threads);
298 // Run parallel threads that lock and access different isolates in parallel
310 i::List<JoinableThread*> threads(kNThreads);
312 threads.Add(new SeparateIsolatesLocksNonexclusiveThread(isolate1,
315 StartJoinAndDeleteThreads(threads);
382 // Use unlocker inside of a Locker, multiple threads.
390 i::List<JoinableThread*> threads(kNThreads);
395 threads.Add(new LockerUnlockerThread(isolate));
397 StartJoinAndDeleteThreads(threads);
447 i::List<JoinableThread*> threads(kNThreads);
452 threads.Add(new LockTwiceAndUnlockThread(isolate));
454 StartJoinAndDeleteThreads(threads);
577 i::List<JoinableThread*> threads(kNThreads);
584 threads.Add(new LockUnlockLockThread(
588 StartJoinAndDeleteThreads(threads);
635 i::List<JoinableThread*> threads(kNThreads);
642 threads.Add(new LockUnlockLockDefaultIsolateThread(context));
645 StartJoinAndDeleteThreads(threads);
737 i::List<JoinableThread*> threads(kNThreads);
739 threads.Add(new IsolateGenesisThread(8, extension_names));
741 StartJoinAndDeleteThreads(threads);