Searched defs:hThread (Results 1 - 4 of 4) sorted by relevance

/openjdk7/jdk/src/windows/native/sun/tools/attach/
H A DWindowsVirtualMachine.c365 HANDLE hProcess, hThread; local
438 hThread = CreateRemoteThread( hProcess,
445 if (hThread != NULL) {
446 if (WaitForSingleObject(hThread, INFINITE) != WAIT_OBJECT_0) {
450 GetExitCodeThread(hThread, &exitCode);
467 CloseHandle(hThread);
/openjdk7/jdk/src/windows/classes/sun/nio/fs/
H A DWindowsNativeDispatcher.java805 static native long OpenThreadToken(long hThread, int desiredAccess, argument
810 static native long DuplicateTokenEx(long hThread, int desiredAccess) argument
/openjdk7/jdk/src/windows/native/sun/nio/fs/
H A DWindowsNativeDispatcher.c923 HANDLE hThread = GetCurrentThread(); local
924 return ptr_to_jlong(hThread);
943 HANDLE hThread = (HANDLE)jlong_to_ptr(thread); local
947 if (OpenThreadToken(hThread, (DWORD)desiredAccess, bOpenAsSelf, &hToken) == 0) {
978 HANDLE hThread = (HANDLE)jlong_to_ptr(thread); local
981 if (SetThreadToken(hThread, hToken) == 0)
/openjdk7/jdk/src/windows/native/sun/windows/
H A Dawt_Toolkit.cpp1885 HANDLE hThread = (HANDLE)_beginthreadex(NULL, 0x100000, StaticThreadProc, local
1888 if (hThread == 0) {
1895 ::CloseHandle(hThread);

Completed in 46 milliseconds