#include "precomp.h"
Go to the source code of this file.
Functions | |
VOID | WakeWowTask (PTHREADINFO pti) |
void | InsertTask (PPROCESSINFO ppi, PTDB ptdbNew) |
void | DestroyTask (PPROCESSINFO ppi, PTHREADINFO ptiToRemove) |
BOOL | xxxSleepTask (BOOL fInputIdle, HANDLE hEvent) |
BOOL | xxxUserYield (PTHREADINFO pti) |
VOID | DirectedScheduleTask (PTHREADINFO ptiOld, PTHREADINFO ptiNew, BOOL bSendMsg, PSMS psms) |
void | xxxDirectedYield (DWORD dwThreadId) |
|
Definition at line 129 of file taskman.c. References _PostMessage(), BEGINATOMICCHECK, CheckCritIn, CLOSE_PSEUDO_EVENT, tagWOWPROCESSINFO::CSOwningThread, DTM_SETUPAPPRAN, ENDATOMICCHECK, EVENT_INCREMENT, ExitWowCritSect(), FALSE, GETDESKINFO, gpsi, gpwtiFirst, KeSetEvent(), tagTDB::nEvents, tagWOWPROCESSINFO::nTaskLock, NULL, tagTHREADINFO::pEventQueueServer, tagWOWPROCESSINFO::pEventWowExec, tagWOWTHREADINFO::pIdleEvent, tagTHREADINFO::ptdb, tagWOWPROCESSINFO::ptdbHead, tagTDB::ptdbNext, tagTDB::pti, tagWOWPROCESSINFO::ptiScheduled, tagPROCESSINFO::pwpi, tagTDB::pwti, tagWOWTHREADINFO::pwtiNext, tagDESKTOPINFO::spwndShell, tagTDB::TDB_Flags, and TDBF_SETUP. Referenced by xxxDestroyThreadInfo().
|
|
Definition at line 594 of file taskman.c. References BOOL, CheckCritIn, gpsi, InsertTask(), tagTDB::nEvents, tagTDB::nPriority, tagWOWPROCESSINFO::nRecvLock, tagWOWPROCESSINFO::nSendLock, tagTHREADINFO::ppi, tagTHREADINFO::psmsSent, tagTHREADINFO::ptdb, tagWOWPROCESSINFO::ptiScheduled, tagPROCESSINFO::pwpi, SMF_WOWRECEIVE, SMF_WOWSEND, TIF_16BIT, tagTHREADINFO::TIF_flags, VOID(), and WakeWowTask(). Referenced by _ReplyMessage(), ReceiverDied(), xxxInterSendMsgEx(), xxxReceiveMessage(), and xxxSleepTask().
|
|
Definition at line 60 of file taskman.c. References CheckCritIn, tagTDB::nPriority, NULL, tagWOWPROCESSINFO::ptdbHead, tagTDB::ptdbNext, and tagPROCESSINFO::pwpi. Referenced by DirectedScheduleTask(), xxxDirectedYield(), xxxSleepTask(), xxxUserYield(), and zzzInitTask().
|
|
Definition at line 30 of file taskman.c. References EVENT_INCREMENT, FALSE, KeSetEvent(), tagTHREADINFO::pEventQueueServer, tagTHREADINFO::ppi, tagWOWPROCESSINFO::ptiScheduled, and tagPROCESSINFO::pwpi. Referenced by DirectedScheduleTask(), and SetWakeBit().
|
|
Definition at line 691 of file taskman.c. References CheckCritIn, gpsi, InsertTask(), tagTDB::nEvents, tagTDB::nPriority, NULL, tagTHREADINFO::ppi, tagTHREADINFO::ptdb, PtiCurrent, PtiFromThreadId(), tagPROCESSINFO::pwpi, TIF_16BIT, tagTHREADINFO::TIF_flags, TRUE, and xxxSleepTask(). Referenced by xxxInternalGetMessage(), and xxxPollAndWaitForSingleObject().
|
|
Definition at line 252 of file taskman.c. References tagTHREADINFO::apEvent, BOOL, CheckCritIn, CheckForClientDeath, ClientDeliverUserApc(), tagWOWPROCESSINFO::CSOwningThread, DirectedScheduleTask(), EnterCrit, EnterWowCritSect(), EVENT_INCREMENT, ExitWowCritSect(), FALSE, tagCLIENTTHREADINFO::fsChangeBits, tagCLIENTTHREADINFO::fsWakeMask, gpsi, HEVENT_REMOVEME, tagWOWPROCESSINFO::hEventWowExecClient, IEV_TASK, IEV_WOWEXEC, InsertTask(), IsHooked, KeClearEvent, KeSetEvent(), KeWaitForMultipleObjects(), LeaveCrit, tagTDB::nEvents, tagWOWPROCESSINFO::nRecvLock, tagWOWPROCESSINFO::nSendLock, tagWOWPROCESSINFO::nTaskLock, NTSTATUS(), NULL, tagTHREADINFO::pcti, tagTHREADINFO::pEventQueueServer, tagWOWPROCESSINFO::pEventWowExec, POLL_EVENT_CNT, tagTHREADINFO::ppi, PsGetCurrentThread, PsIsThreadTerminating, PSMS, tagTHREADINFO::psmsCurrent, tagTHREADINFO::ptdb, tagWOWPROCESSINFO::ptdbHead, tagTDB::ptdbNext, tagTDB::pti, PtiCurrent, tagWOWPROCESSINFO::ptiScheduled, tagPROCESSINFO::pwpi, SMF_RECEIVEDMESSAGE, SMF_RECEIVERBUSY, SMF_REPLY, Status, TIF_16BIT, tagTHREADINFO::TIF_flags, TIF_SHAREDWOW, TRUE, UserMode, WHF_FOREGROUNDIDLE, WrUserRequest, xxxCallHook(), and zzzWakeInputIdle(). Referenced by _ReplyMessage(), NtUserWaitForMsgAndEvent(), xxxDirectedYield(), xxxInternalGetMessage(), xxxPollAndWaitForSingleObject(), xxxReceiveMessage(), xxxSleepThread(), and xxxUserYield().
|
|
Definition at line 537 of file taskman.c. References BOOL, gpsi, InsertTask(), tagTDB::nEvents, NULL, tagTHREADINFO::ppi, tagTHREADINFO::ptdb, tagWOWPROCESSINFO::ptiScheduled, tagPROCESSINFO::pwpi, TIF_16BIT, tagTHREADINFO::TIF_flags, TRUE, xxxReceiveMessages, and xxxSleepTask(). Referenced by NtUserYieldTask(), and xxxInternalGetMessage().
|