Home | History | Annotate | Download | only in base

Lines Matching refs:HANDLE

86 base::TerminationStatus WaitForChildTermination(base::ProcessHandle handle,
93 status = base::GetTerminationStatus(handle, exit_code);
117 base::ProcessHandle handle = this->SpawnChild("SimpleChildProcess", false);
118 ASSERT_NE(base::kNullProcessHandle, handle);
119 EXPECT_TRUE(base::WaitForSingleProcess(handle, kMaxWaitTimeMs));
120 base::CloseProcessHandle(handle);
130 base::ProcessHandle handle = this->SpawnChild("SlowChildProcess", false);
131 ASSERT_NE(base::kNullProcessHandle, handle);
133 EXPECT_TRUE(base::WaitForSingleProcess(handle, kMaxWaitTimeMs));
134 base::CloseProcessHandle(handle);
140 base::ProcessHandle handle = this->SpawnChild("SlowChildProcess", false);
141 ASSERT_NE(base::kNullProcessHandle, handle);
145 base::GetTerminationStatus(handle, &exit_code));
151 WaitForChildTermination(handle, &exit_code);
154 base::CloseProcessHandle(handle);
183 base::ProcessHandle handle = this->SpawnChild("CrashingChildProcess",
185 ASSERT_NE(base::kNullProcessHandle, handle);
189 base::GetTerminationStatus(handle, &exit_code));
195 WaitForChildTermination(handle, &exit_code);
206 base::CloseProcessHandle(handle);
218 HANDLE handle = ::OpenProcess(PROCESS_ALL_ACCESS, 0, ::GetCurrentProcessId());
219 ::TerminateProcess(handle, kExpectedKilledExitCode);
229 base::ProcessHandle handle = this->SpawnChild("KilledChildProcess",
231 ASSERT_NE(base::kNullProcessHandle, handle);
235 base::GetTerminationStatus(handle, &exit_code));
241 WaitForChildTermination(handle, &exit_code);
251 base::CloseProcessHandle(handle);
260 base::ProcessHandle handle = this->SpawnChild("SimpleChildProcess", false);
261 base::Process process(handle);
280 HANDLE heaps[1024] = { 0 };
430 base::ProcessHandle handle = this->SpawnChild(
432 CHECK(handle);
442 CHECK(base::WaitForSingleProcess(handle, 1000));
443 base::CloseProcessHandle(handle);
477 base::ProcessHandle handle;
488 true /* wait for exit */, &handle));