Searched refs:primaryHandle (Results 1 – 2 of 2) sorted by relevance
362 HANDLE primaryHandle; in dng_pthread_detach() local372 primaryHandle = iter->second.first; in dng_pthread_detach()375 if (primaryHandle == NULL) in dng_pthread_detach()385 if (!::CloseHandle(primaryHandle)) in dng_pthread_detach()396 HANDLE primaryHandle = NULL; in dng_pthread_join() local408 primaryHandle = iter->second.first; in dng_pthread_join()419 primaryHandle = ::OpenThread(SYNCHRONIZE|THREAD_QUERY_INFORMATION, FALSE, thread); in dng_pthread_join()421 if (primaryHandle == NULL) in dng_pthread_join()425 if (::WaitForSingleObject(primaryHandle, INFINITE) != WAIT_OBJECT_0) in dng_pthread_join()438 ::CloseHandle(primaryHandle); in dng_pthread_join()
45 in.primaryHandle = TPM_RH_ENDORSEMENT; in Tpm2CreatePrimary()