Home
last modified time | relevance | path

Searched refs:GetCurrentThreadId (Results 1 – 25 of 123) sorted by relevance

12345

/reactos/dll/3rdparty/libtirpc/src/
H A Dclnt_vc.c186 vc_fd_locks[WINSOCK_HANDLE_HASH(fd)] != GetCurrentThreadId()) \
188 vc_fd_locks[WINSOCK_HANDLE_HASH(fd)] = GetCurrentThreadId(); \
211 fprintf(stderr/*stdout*/, "%04x: Creating callback thread\n", GetCurrentThreadId()); in clnt_cb_thread()
226 vc_fd_locks[WINSOCK_HANDLE_HASH(ct->ct_fd)] = GetCurrentThreadId(); in clnt_cb_thread()
268 GetCurrentThreadId(), in clnt_cb_thread()
283 fprintf(stdout, "%04x: cb: replying to xid %d\n", GetCurrentThreadId(), in clnt_cb_thread()
299 fprintf(stderr, "%04x: failed to send REPLY\n", GetCurrentThreadId()); in clnt_cb_thread()
490 GetCurrentThreadId(), cl->cb_thread);
596 vc_fd_locks[WINSOCK_HANDLE_HASH(ct->ct_fd)] = GetCurrentThreadId();
925 GetCurrentThreadId(), cl->cb_thread);
[all …]
/reactos/modules/rostests/winetests/user32/
H A Dwinstation.c73 d1 = GetThreadDesktop(GetCurrentThreadId()); in thread()
96 d1 = GetThreadDesktop(GetCurrentThreadId()); in thread()
245 d1 = GetThreadDesktop(GetCurrentThreadId()); in test_handles()
247 ok( GetThreadDesktop(GetCurrentThreadId()) == d1, in test_handles()
323 d2 = GetThreadDesktop(GetCurrentThreadId()); in test_handles()
609 thread_desk = GetThreadDesktop(GetCurrentThreadId()); in test_inputdesktop()
633 thread_desk = GetThreadDesktop(GetCurrentThreadId()); in test_inputdesktop()
647 thread_desk = GetThreadDesktop(GetCurrentThreadId()); in test_inputdesktop()
681 thread_desk = GetThreadDesktop(GetCurrentThreadId()); in test_inputdesktop()
754 hdesk = GetThreadDesktop(GetCurrentThreadId()); in test_inputdesktop2()
[all …]
/reactos/sdk/lib/drivers/wdf/shared/inc/primitives/um/
H A Dmxpagedlockum.h67 DWORD threadId = GetCurrentThreadId(); in Acquire()
73 m_Lock.OwnerThreadId = GetCurrentThreadId(); in Acquire()
H A Dmxlockum.h82 DWORD threadId = GetCurrentThreadId(); in Acquire()
106 DWORD threadId = GetCurrentThreadId(); in TryToAcquire()
/reactos/modules/rostests/apitests/user32/
H A DSetCursorPos.c97 …eHook = SetWindowsHookExW(WH_MOUSE, MouseHookProc, GetModuleHandleW( NULL ), GetCurrentThreadId()); in Test_SetCursorPos()
165 hDeskInitial = GetThreadDesktop(GetCurrentThreadId()); in Test_DesktopAccess()
174 ok(GetThreadDesktop(GetCurrentThreadId()) == hDesk, "SetThreadDesktop had no effect\n"); in Test_DesktopAccess()
H A DSetParent.c73 …ok(GetCurrentThreadId() == dwThreadId, "Thread 0x%lx instead of 0x%lx\n", GetCurrentThreadId(), dw… in WndProc()
121 dwThreadId = GetCurrentThreadId(); in START_TEST()
H A Ddesktop.c52 hdesktop = GetThreadDesktop(GetCurrentThreadId()); in do_InitialDesktop_child()
201 hDeskInitial = GetThreadDesktop( GetCurrentThreadId() ); in Test_OpenInputDesktop()
386 hdesk1 = GetThreadDesktop(GetCurrentThreadId()); in Test_References()
396 …ok (GetThreadDesktop(GetCurrentThreadId()) == hdesk, "Expected GetThreadDesktop to return hdesk\n"… in Test_References()
400 …ok (GetThreadDesktop(GetCurrentThreadId()) == hdesk1, "Expected GetThreadDesktop to return hdesk1\… in Test_References()
H A DSendMessageTimeout.c77 if (GetCurrentThreadId() == dwThread1) in WndProc()
90 return SendMessage(hWndThread2, WM_SENDTOOTHERTHREAD, wParam + 1, GetCurrentThreadId()); in WndProc()
95 return SendMessage(hWndThread1, WM_SENDTOOTHERTHREAD, wParam + 1, GetCurrentThreadId()); in WndProc()
/reactos/modules/rostests/winetests/atl/
H A Dmodule.c81 …ok(create_data[0].m_dwThreadID == GetCurrentThreadId(), "unexpected create_data[0].m_dwThreadID %x… in test_winmodule()
88 …ok(create_data[1].m_dwThreadID == GetCurrentThreadId(), "unexpected create_data[1].m_dwThreadID %x… in test_winmodule()
95 …ok(create_data[2].m_dwThreadID == GetCurrentThreadId(), "unexpected create_data[2].m_dwThreadID %x… in test_winmodule()
/reactos/dll/win32/msi/
H A Dhandle.c124 entry->dwThreadId = GetCurrentThreadId(); in alloc_msihandle()
147 entry->dwThreadId = GetCurrentThreadId(); in alloc_msi_remote_handle()
334 if (handle_table[i].dwThreadId == GetCurrentThreadId()) in MsiCloseAllHandles()
/reactos/modules/rostests/apitests/ntdll/
H A DRtlCriticalSection.c288 ok_ptr(CritSect.OwningThread, UlongToHandle(GetCurrentThreadId())); in Test_Acquire()
296 ok_ptr(CritSect.OwningThread, UlongToHandle(GetCurrentThreadId())); in Test_Acquire()
316 ok_ptr(CritSect.OwningThread, UlongToHandle(GetCurrentThreadId())); in Test_Acquire()
331 ok_ptr(CritSect.OwningThread, UlongToHandle(GetCurrentThreadId())); in Test_Acquire()
H A DNtImpersonateAnonymousToken.c20 Thread = OpenThread(DesiredAccess, FALSE, GetCurrentThreadId()); in GetThreadFromCurrentProcess()
/reactos/modules/rostests/apitests/imm32/
H A DImmEnumInputContext.c83 ok_int(ImmEnumInputContext(GetCurrentThreadId(), ImcEnumProc, 0xBEEFCAFE), TRUE); in AnotherThreadFunc()
130 ok_int(ImmEnumInputContext(GetCurrentThreadId(), ImcEnumProc, 0xAC1DFACE), TRUE); in OnInitDialog()
/reactos/dll/win32/vbscript/
H A Dvbscript.c411 if(InterlockedCompareExchange(&This->thread_id, GetCurrentThreadId(), 0)) in VBScript_SetScriptSite()
444 if(This->thread_id && GetCurrentThreadId() != This->thread_id) in VBScript_SetScriptState()
490 if(This->thread_id && This->thread_id != GetCurrentThreadId()) in VBScript_GetScriptState()
503 if(This->thread_id && This->thread_id != GetCurrentThreadId()) in VBScript_Close()
519 if(This->thread_id != GetCurrentThreadId() || !This->ctx->site) in VBScript_AddNamedItem()
582 if(This->thread_id != GetCurrentThreadId() || !This->ctx->script_obj) { in VBScript_GetScriptDispatch()
774 if(This->thread_id != GetCurrentThreadId() || This->state == SCRIPTSTATE_CLOSED) in VBScriptParse_ParseScriptText()
846 if(This->thread_id != GetCurrentThreadId() || This->state == SCRIPTSTATE_CLOSED) in VBScriptParseProcedure_ParseProcedureText()
/reactos/dll/win32/jscript/
H A Djscript.c440 if(InterlockedCompareExchange(&This->thread_id, GetCurrentThreadId(), 0)) in JScript_SetScriptSite()
467 if(This->thread_id && GetCurrentThreadId() != This->thread_id) in JScript_SetScriptState()
510 if(This->thread_id && This->thread_id != GetCurrentThreadId()) in JScript_GetScriptState()
523 if(This->thread_id && This->thread_id != GetCurrentThreadId()) in JScript_Close()
540 …if(This->thread_id != GetCurrentThreadId() || !This->ctx || This->ctx->state == SCRIPTSTATE_CLOSED) in JScript_AddNamedItem()
606 if(This->thread_id != GetCurrentThreadId() || !This->ctx->global) { in JScript_GetScriptDispatch()
766 if(This->thread_id != GetCurrentThreadId() || This->ctx->state == SCRIPTSTATE_CLOSED) in JScriptParse_ParseScriptText()
859 if(This->thread_id != GetCurrentThreadId() || This->ctx->state == SCRIPTSTATE_CLOSED) in JScriptParseProcedure_ParseProcedureText()
/reactos/sdk/lib/crt/process/
H A Dthreadid.c10 return GetCurrentThreadId(); in __threadid()
/reactos/modules/rostests/win32/kernel32/queuetest/
H A Dqueuetest.c18 printf("TestProc%d thread 0x%lx context 0x%p\n", n, GetCurrentThreadId(), ctx);\
/reactos/modules/rostests/winetests/urlmon/
H A Durl.c933 ok(GetCurrentThreadId() == thread_id, "wrong thread %d\n", GetCurrentThreadId()); in Protocol_Continue()
1251 ok(GetCurrentThreadId() == thread_id, "wrong thread %d\n", GetCurrentThreadId()); in HttpNegotiate_BeginningTransaction()
1267 ok(GetCurrentThreadId() == thread_id, "wrong thread %d\n", GetCurrentThreadId()); in HttpNegotiate_OnResponse()
1287 ok(GetCurrentThreadId() == thread_id, "wrong thread %d\n", GetCurrentThreadId()); in HttpNegotiate_GetRootSecurityId()
1510 ok(GetCurrentThreadId() == thread_id, "wrong thread %d\n", GetCurrentThreadId()); in statusclb_QueryInterface()
1601 ok(GetCurrentThreadId() == thread_id, "wrong thread %d\n", GetCurrentThreadId()); in statusclb_OnStartBinding()
1659 ok(GetCurrentThreadId() == thread_id, "wrong thread %d\n", GetCurrentThreadId()); in statusclb_OnProgress()
1860 ok(GetCurrentThreadId() == thread_id, "wrong thread %d\n", GetCurrentThreadId()); in statusclb_OnStopBinding()
1952 ok(GetCurrentThreadId() == thread_id, "wrong thread %d\n", GetCurrentThreadId()); in statusclb_GetBindInfo()
2000 ok(GetCurrentThreadId() == thread_id, "wrong thread %d\n", GetCurrentThreadId()); in statusclb_OnDataAvailable()
[all …]
/reactos/sdk/lib/crt/misc/
H A Dtls.c41 ptr->tid = GetCurrentThreadId(); in msvcrt_get_thread_data()
/reactos/dll/3rdparty/libtirpc/tirpc/
H A Dreentrant.h150 #define thr_self() GetCurrentThreadId()
/reactos/base/services/nfsd/
H A Ddaemon_debug.c77 fprintf(dlog_file, "%04x: ", GetCurrentThreadId()); in dprintf()
90 fprintf(elog_file, "%04x: ", GetCurrentThreadId()); in eprintf()
528 fprintf(dlog_file, "%04x: sr_status_flags: ", GetCurrentThreadId()); in print_sr_status_flags()
/reactos/modules/rosapps/templates/mdi/
H A Dframewnd.c113 hcbthook = SetWindowsHookEx(WH_CBT, CBTProc, 0, GetCurrentThreadId());
178 hcbthook = SetWindowsHookEx(WH_CBT, CBTProc, 0, GetCurrentThreadId()); in InitChildWindow()
/reactos/sdk/lib/3rdparty/libxml2/
H A Dthreads.c763 return GetCurrentThreadId(); in xmlGetThreadId()
799 return (mainthread == GetCurrentThreadId()); in xmlIsMainThread()
966 mainthread = GetCurrentThreadId(); in xmlOnceInit()
/reactos/modules/rostests/winetests/ntdll/
H A Dthreadpool.c166 info->threadid = GetCurrentThreadId(); in rtl_wait_cb()
862 group_cancel_tid = GetCurrentThreadId(); in group_cancel_cleanup_release_cb()
871 group_cancel_tid = GetCurrentThreadId(); in group_cancel_cleanup_release2_cb()
879 group_cancel_tid = GetCurrentThreadId(); in group_cancel_cleanup_increment_cb()
977 ok(group_cancel_tid == GetCurrentThreadId(), "expected tid %x, got %x\n", in test_tp_group_cancel()
978 GetCurrentThreadId(), group_cancel_tid); in test_tp_group_cancel()
1000 ok(group_cancel_tid == GetCurrentThreadId(), "expected tid %x, got %x\n", in test_tp_group_cancel()
1001 GetCurrentThreadId(), group_cancel_tid); in test_tp_group_cancel()
1052 ok(group_cancel_tid == GetCurrentThreadId(), "expected tid %x, got %x\n", in test_tp_group_cancel()
1053 GetCurrentThreadId(), group_cancel_tid); in test_tp_group_cancel()
/reactos/sdk/lib/crt/startup/
H A Dgs_support.c76 cookie ^= GetCurrentThreadId (); in __security_init_cookie()

12345