|
ReactOS 0.4.17-dev-1247-ge46f4bb
|
#include <ntoskrnl.h>#include <debug.h>
Go to the source code of this file.
Macros | |
| #define | NDEBUG |
Variables | |
| BOOLEAN | CcPfEnablePrefetcher |
| ULONG | MmReadClusterSize |
| POBJECT_TYPE | PsThreadType = NULL |
| NTSTATUS NTAPI NtCreateThread | ( | OUT PHANDLE | ThreadHandle, |
| IN ACCESS_MASK | DesiredAccess, | ||
| IN POBJECT_ATTRIBUTES ObjectAttributes | OPTIONAL, | ||
| IN HANDLE | ProcessHandle, | ||
| OUT PCLIENT_ID | ClientId, | ||
| IN PCONTEXT | ThreadContext, | ||
| IN PINITIAL_TEB | InitialTeb, | ||
| IN BOOLEAN | CreateSuspended | ||
| ) |
Definition at line 965 of file thread.c.
| NTSTATUS NTAPI NtOpenThread | ( | OUT PHANDLE | ThreadHandle, |
| IN ACCESS_MASK | DesiredAccess, | ||
| IN POBJECT_ATTRIBUTES | ObjectAttributes, | ||
| IN PCLIENT_ID ClientId | OPTIONAL | ||
| ) |
Definition at line 1037 of file thread.c.
Referenced by InitFunctionPtrs(), OpenThread(), PrintThreads(), Test_InfoClass_Access(), test_query_process(), and test_thread_lookup().
| NTSTATUS NTAPI PsCreateSystemThread | ( | OUT PHANDLE | ThreadHandle, |
| IN ACCESS_MASK | DesiredAccess, | ||
| IN POBJECT_ATTRIBUTES | ObjectAttributes, | ||
| IN HANDLE | ProcessHandle, | ||
| IN PCLIENT_ID | ClientId, | ||
| IN PKSTART_ROUTINE | StartRoutine, | ||
| IN PVOID | StartContext | ||
| ) |
Definition at line 626 of file thread.c.
Referenced by _Function_class_(), ACPIDispatchDeviceControl(), AcpiOsExecute(), AtaFdoCreatePortThread(), BehaviorChecks(), CmpInitializeHiveList(), create_calc_threads(), FxSystemThread::CreateThread(), DisplayBootBitmap(), DriverEntry(), ExpCreateWorkerThread(), ExpInitializeWorkerThreads(), Ext2StartReaper(), FsRtlInitializeWorkerThread(), InitializeDeviceData(), IntVideoPortInbvInitialize(), KdbSymInit(), KdpDebugLogInit(), KeyboardInternalDeviceControl(), KmtStartThread(), look_for_balance_item(), MiInitBalancerThread(), MmInitBsmThread(), mount_vol(), PageFileBehaviorChecks(), PopFlushVolumes(), PspInitPhase0(), remove_device(), resize_device(), RxInitializeDispatcher(), RxSpinUpWorkerThread(), ScrInbvInitialize(), send_subvol(), SeRmInitPhase1(), SermouseStartDevice(), start_balance(), start_scrub(), StartMemoryMonitor(), StartSocketDereferenceThread(), StartThread(), sys_thread_new(), SystemProcessTest(), TestEventConcurrent(), USBPORT_CreateWorkerThread(), VfdCreateDevice(), and WskSocket().
| KPROCESSOR_MODE NTAPI PsGetCurrentThreadPreviousMode | ( | VOID | ) |
Definition at line 779 of file thread.c.
Referenced by intDdCreateDirectDrawLocal().
Definition at line 809 of file thread.c.
Referenced by FileOpenAddress().
Definition at line 829 of file thread.c.
Referenced by AllocateUserMessage(), CaretSystemTimerProc(), co_HOOK_CallHooks(), co_IntActivateKeyboardLayout(), co_IntCallHookProc(), co_IntCallSentMessageCallback(), co_IntCallWindowProc(), co_IntClientLoadLibrary(), co_IntClientThreadSetup(), co_IntCreateDefaultImeWindow(), co_IntFixCaret(), co_IntGetPeekMessage(), co_IntLoadDefaultCursors(), co_IntLoadSysMenuTemplate(), co_IntPaintWindows(), co_IntPeekMessage(), co_IntProcessKeyboardMessage(), co_IntProcessMouseMessage(), co_IntSendActivateMessages(), co_IntSendMessageTimeoutSingle(), co_IntSendMessageWithCallBack(), co_IntSetActiveWindow(), co_IntSetCaretPos(), co_IntSetForegroundAndFocusWindow(), co_IntWaitMessage(), co_MsqDispatchOneSentMessage(), co_MsqReplyMessage(), co_MsqSendMessage(), co_MsqSendMessageAsync(), co_UserDestroyWindow(), co_UserHideCaret(), co_UserSetCapture(), co_UserSetFocus(), co_UserShowCaret(), co_WinPosSearchChildren(), co_WinPosSetWindowPos(), co_WinPosShowWindow(), DECREASE_THREAD_LOCK_COUNT(), DefWndDoSizeMove(), DefWndStartSizeMove(), DesktopHeapGetUserDelta(), DesktopThreadMain(), GetW32ThreadInfo(), handle_internal_message(), IdlePing(), INCREASE_THREAD_LOCK_COUNT(), IntAddAtom(), IntCallWndProc(), IntCallWndProcRet(), IntCbAllocateMemory(), IntCbFreeMemory(), IntCreateDesktop(), IntDeactivateWindow(), IntDefWindowProc(), IntDeRegisterShellHookWindow(), IntDesktopOkToClose(), IntDestroyOwnedWindows(), IntDispatchMessage(), IntDrawScrollBar(), IntGetAndReferenceClass(), IntGetAtomName(), IntGetCapture(), IntGetCurrentThreadDesktopWindow(), IntGetImeCompatFlags(), IntGetNextHook(), IntGetQueueStatus(), IntGetThreadDesktopWindow(), IntGetThreadFocusWindow(), IntInitMessagePumpHook(), IntInvalidateWindows(), IntIsClipboardOpenByMe(), IntMsqClearWakeMask(), IntMsqSetWakeMask(), IntNotifyImeShowStatus(), IntNotifyWinEvent(), IntQueryTrackMouseEvent(), IntRegisterShellHookWindow(), IntReleaseCapture(), IntRemoveHook(), IntSendDestroyMsg(), IntSendSyncPaint(), IntSetThreadDesktop(), IntSetTimer(), IntTrackMouseEvent(), IntTrackPopupMenuEx(), IntTranslateKbdMessage(), IntUnhookWindowsHook(), IntUninitMessagePumpHook(), IntUserSetActiveWindow(), MENU_DoNextMenu(), MENU_InitTracking(), MENU_TrackMenu(), MsqGetMessageExtraInfo(), MsqSetMessageExtraInfo(), NtUserBlockInput(), NtUserCallNoParam(), NtUserCallOneParam(), NtUserCallTwoParam(), NtUserCreateAcceleratorTable(), NtUserCreateCaret(), NtUserGetAppImeLevel(), NtUserGetCaretPos(), NtUserGetGUIThreadInfo(), NtUserGetKeyboardLayoutName(), NtUserGetKeyboardState(), NtUserGetKeyNameText(), NtUserGetRawInputBuffer(), NtUserGetRawInputData(), NtUserGetThreadState(), NtUserLockWorkStation(), NtUserMapVirtualKeyEx(), NtUserQueryWindow(), NtUserSendInput(), NtUserSetAppImeLevel(), NtUserSetKeyboardState(), NtUserSetThreadState(), NtUserSetWindowsHookEx(), NtUserSetWinEventHook(), NtUserToUnicodeEx(), NtUserValidateTimerCallback(), NtUserVkKeyScanEx(), NtUserWaitForInputIdle(), PostTimerMessages(), UserCreateInputContext(), UserDbgAssertThreadInfo(), UserDerefObjectCo(), UserDestroyMenu(), UserEnterExclusive(), UserGetActiveWindow(), UserGetCPD(), UserGetKeyboardLayout(), UserGetKeyState(), UserGhostThreadEntry(), UserInitialize(), UserOpenClipboard(), UserOpenInputDesktop(), UserRefObjectCo(), UserRegisterHotKey(), UserRegisterUserApiHook(), UserSendKeyboardInput(), UserSendMouseInput(), UserSetActiveWindow(), UserSetCursor(), UserShowCursor(), and UserUnregisterUserApiHook().
Definition at line 839 of file thread.c.
Definition at line 709 of file thread.c.
Referenced by IsThreadSuspended(), and MsqIsHung().
Definition at line 719 of file thread.c.
Referenced by MountMgrMountedDeviceNotification(), and MountMgrVolumeArrivalNotification().
Definition at line 729 of file thread.c.
Referenced by co_IntSetForegroundMessageQueue(), FirstSendHandler(), gdb_send_exception(), gdb_send_register(), gdb_send_registers(), handle_gdb_query(), IntDeactivateWindow(), IntTID2PTI(), NtUserQueryInputContext(), send_kd_state_change(), and UserGetKeyboardLayout().
Definition at line 769 of file thread.c.
Referenced by co_IntCreateDefaultImeWindow(), FirstSendHandler(), gdb_send_exception(), handle_gdb_query(), NtUserQueryInputContext(), send_kd_state_change(), and UserInitiateShutdown().
Definition at line 819 of file thread.c.
Referenced by _Acquires_lock_(), _Releases_lock_(), AllocW32Thread(), ExitThreadCallback(), IntTID2PTI(), NtUserSetWinEventHook(), and Win32kThreadCallback().
Definition at line 902 of file thread.c.
Referenced by IntEnlistPowerCallout(), and IoIsSystemThread().
Definition at line 892 of file thread.c.
Referenced by IntTID2PTI(), NtQueryInformationThread(), ObpCloseHandle(), and RequestSynchronizeProcessWithSerialQueue().
Definition at line 667 of file thread.c.
Referenced by IntTID2PTI(), KdbpAttachToThread(), KdbpCmdThread(), NtOpenThread(), NtUserBuildHwndList(), NtUserPostThreadMessage(), and NtUserSetWinEventHook().
| NTSTATUS NTAPI PspCreateThread | ( | OUT PHANDLE | ThreadHandle, |
| IN ACCESS_MASK | DesiredAccess, | ||
| IN POBJECT_ATTRIBUTES ObjectAttributes | OPTIONAL, | ||
| IN HANDLE | ProcessHandle, | ||
| IN PEPROCESS | TargetProcess, | ||
| OUT PCLIENT_ID | ClientId, | ||
| IN PCONTEXT | ThreadContext, | ||
| IN PINITIAL_TEB | InitialTeb, | ||
| IN BOOLEAN | CreateSuspended, | ||
| IN PKSTART_ROUTINE StartRoutine | OPTIONAL, | ||
| IN PVOID StartContext | OPTIONAL | ||
| ) |
Definition at line 195 of file thread.c.
Referenced by NtCreateThread(), and PsCreateSystemThread().
Definition at line 162 of file thread.c.
Referenced by PspCreateThread().
| NTSTATUS NTAPI PspThreadOpen | ( | _In_ OB_OPEN_REASON | Reason, |
| _In_ KPROCESSOR_MODE | AccessMode, | ||
| _In_opt_ PEPROCESS | Process, | ||
| _In_ PVOID | ObjectBody, | ||
| _Inout_ PACCESS_MASK | GrantedAccess, | ||
| _In_ ULONG | HandleCount | ||
| ) |
Definition at line 26 of file thread.c.
Referenced by PspInitPhase0().
| LONG PspUnhandledExceptionInSystemThread | ( | PEXCEPTION_POINTERS | ExceptionPointers | ) |
Definition at line 138 of file thread.c.
Referenced by PspSystemThreadStartup().
Definition at line 49 of file thread.c.
Referenced by PspCreateThread().
| VOID NTAPI PsSetThreadHardErrorsAreDisabled | ( | IN PETHREAD | Thread, |
| IN BOOLEAN | HardErrorsAreDisabled | ||
| ) |
Definition at line 922 of file thread.c.
Referenced by MountMgrMountedDeviceNotification(), and MountMgrVolumeArrivalNotification().
| PVOID NTAPI PsSetThreadWin32Thread | ( | _Inout_ PETHREAD | Thread, |
| _In_ PVOID | Win32Thread, | ||
| _In_ PVOID | OldWin32Thread | ||
| ) |
Definition at line 933 of file thread.c.
Referenced by AllocW32Thread(), and ExitThreadCallback().
|
extern |
Definition at line 17 of file cacheman.c.
Referenced by PspUserThreadStartup().
|
extern |
Definition at line 21 of file mminit.c.
Referenced by PspCreateThread().
| POBJECT_TYPE PsThreadType = NULL |
Definition at line 20 of file thread.c.
Referenced by BehaviorChecks(), DbgkpOpenHandles(), DriverEntry(), ExpCreateWorkerThread(), KmtStartThread(), NtAlertResumeThread(), NtAlertThread(), NtGetContextThread(), NtGetNextThread(), NtImpersonateAnonymousToken(), NtImpersonateThread(), NtOpenThread(), NtOpenThreadTokenEx(), NtQueryInformationThread(), NtQueueApcThreadEx(), NtResumeThread(), NtSetContextThread(), NtSetInformationThread(), NtSuspendThread(), NtTerminateThread(), NtUserQueryInformationThread(), NtUserSetInformationThread(), ObReferenceObjectByHandle(), PageFileBehaviorChecks(), PspCreateThread(), PspInitPhase0(), RxpWorkerThreadDispatcher(), RxSpinUpRequestsDispatcher(), SepOpenThreadToken(), StartThread(), SystemProcessTest(), TestEventConcurrent(), and TestObjectTypes().