mirror of
https://github.com/reactos/reactos.git
synced 2025-07-31 10:01:43 +00:00
remove WndObjListLock
svn path=/trunk/; revision=17696
This commit is contained in:
parent
781981aa5f
commit
e51f10ab47
3 changed files with 0 additions and 8 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
@ -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. */
|
||||
|
|
|
@ -1591,7 +1591,6 @@ co_IntCreateWindowEx(DWORD dwExStyle,
|
|||
|
||||
InitializeListHead(&Window->PropListHead);
|
||||
InitializeListHead(&Window->WndObjListHead);
|
||||
ExInitializeFastMutex(&Window->WndObjListLock);
|
||||
|
||||
if (NULL != WindowName->Buffer)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue