mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 19:26:32 +00:00
remove WndObjListLock
svn path=/trunk/; revision=17696
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user