remove WndObjListLock

svn path=/trunk/; revision=17696
This commit is contained in:
Gunnar Dalsnes 2005-09-06 13:36:04 +00:00
parent 781981aa5f
commit e51f10ab47
3 changed files with 0 additions and 8 deletions

View file

@ -155,7 +155,6 @@ IntEngWindowChanged(
ASSERT_IRQL(PASSIVE_LEVEL);
ExAcquireFastMutex(&Window->WndObjListLock);
CurrentEntry = Window->WndObjListHead.Flink;
while (CurrentEntry != &Window->WndObjListHead)
{
@ -189,7 +188,6 @@ IntEngWindowChanged(
}
}
ExReleaseFastMutex(&Window->WndObjListLock);
}
/*
@ -255,9 +253,7 @@ EngCreateWnd(
WndObjInt->PixelFormat = iPixelFormat;
/* associate object with window */
ExAcquireFastMutex(&Window->WndObjListLock);
InsertTailList(&Window->WndObjListHead, &WndObjInt->ListEntry);
ExReleaseFastMutex(&Window->WndObjListLock);
/* release resources */
IntReleaseWindowObject(Window);
@ -305,9 +301,7 @@ EngDeleteWnd(
else
{
/* Remove object from window */
ExAcquireFastMutex(&Window->WndObjListLock);
RemoveEntryList(&WndObjInt->ListEntry);
ExReleaseFastMutex(&Window->WndObjListLock);
IntReleaseWindowObject(Window);
}

View file

@ -94,7 +94,6 @@ typedef struct _WINDOW_OBJECT
ULONG TiledCounter;
/* WNDOBJ list */
LIST_ENTRY WndObjListHead;
FAST_MUTEX WndObjListLock;
} WINDOW_OBJECT; /* PWINDOW_OBJECT already declared at top of file */
/* Window flags. */

View file

@ -1591,7 +1591,6 @@ co_IntCreateWindowEx(DWORD dwExStyle,
InitializeListHead(&Window->PropListHead);
InitializeListHead(&Window->WndObjListHead);
ExInitializeFastMutex(&Window->WndObjListLock);
if (NULL != WindowName->Buffer)
{