Home | History | Annotate | Download | only in cctest

Lines Matching refs:Thread

121 // Test that a single thread of JavaScript execution can terminate
130 // Run a loop that will be infinite if thread termination does not work.
134 // Test that we can run the code again after thread termination.
141 // Test that a single thread of JavaScript execution can terminate
150 // Run a loop that will be infinite if thread termination does not work.
155 // Test that we can run the code again after thread termination.
161 class TerminatorThread : public v8::internal::Thread {
164 : Thread(isolate, "TerminatorThread") { }
173 // Test that a single thread of JavaScript execution can be terminated
174 // from the side by another thread.
177 TerminatorThread thread(i::Isolate::Current());
178 thread.Start();
185 // Run a loop that will be infinite if thread termination does not work.
190 thread.Join();
197 class LoopingThread : public v8::internal::Thread {
200 : Thread(isolate, "LoopingThread") { }
210 // Run a loop that will be infinite if thread termination does not work.
225 // thread when using Lockers and preemption.
305 // Run a loop that will be infinite if thread termination does not work.
310 // Test that we can run the code again after thread termination.