remove WndObjListLock
Modified: trunk/reactos/subsys/win32k/eng/window.c
Modified: trunk/reactos/subsys/win32k/include/window.h
Modified: trunk/reactos/subsys/win32k/ntuser/window.c
_____
Modified: trunk/reactos/subsys/win32k/eng/window.c
--- trunk/reactos/subsys/win32k/eng/window.c 2005-09-06 11:00:27 UTC
(rev 17695)
+++ trunk/reactos/subsys/win32k/eng/window.c 2005-09-06 13:36:04 UTC
(rev 17696)
@@ -155,7 +155,6 @@
ASSERT_IRQL(PASSIVE_LEVEL);
- ExAcquireFastMutex(&Window->WndObjListLock);
CurrentEntry = Window->WndObjListHead.Flink;
while (CurrentEntry != &Window->WndObjListHead)
{
@@ -189,7 +188,6 @@
}
}
- ExReleaseFastMutex(&Window->WndObjListLock);
}
/*
@@ -255,9 +253,7 @@
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 @@
else
{
/* Remove object from window */
- ExAcquireFastMutex(&Window->WndObjListLock);
RemoveEntryList(&WndObjInt->ListEntry);
- ExReleaseFastMutex(&Window->WndObjListLock);
IntReleaseWindowObject(Window);
}
_____
Modified: trunk/reactos/subsys/win32k/include/window.h
--- trunk/reactos/subsys/win32k/include/window.h 2005-09-06
11:00:27 UTC (rev 17695)
+++ trunk/reactos/subsys/win32k/include/window.h 2005-09-06
13:36:04 UTC (rev 17696)
@@ -94,7 +94,6 @@
ULONG TiledCounter;
/* WNDOBJ list */
LIST_ENTRY WndObjListHead;
- FAST_MUTEX WndObjListLock;
} WINDOW_OBJECT; /* PWINDOW_OBJECT already declared at top of file */
/* Window flags. */
_____
Modified: trunk/reactos/subsys/win32k/ntuser/window.c
--- trunk/reactos/subsys/win32k/ntuser/window.c 2005-09-06 11:00:27 UTC
(rev 17695)
+++ trunk/reactos/subsys/win32k/ntuser/window.c 2005-09-06 13:36:04 UTC
(rev 17696)
@@ -1591,7 +1591,6 @@
InitializeListHead(&Window->PropListHead);
InitializeListHead(&Window->WndObjListHead);
- ExInitializeFastMutex(&Window->WndObjListLock);
if (NULL != WindowName->Buffer)
{
Show replies by date