mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 07:53:07 +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);
|
ASSERT_IRQL(PASSIVE_LEVEL);
|
||||||
|
|
||||||
ExAcquireFastMutex(&Window->WndObjListLock);
|
|
||||||
CurrentEntry = Window->WndObjListHead.Flink;
|
CurrentEntry = Window->WndObjListHead.Flink;
|
||||||
while (CurrentEntry != &Window->WndObjListHead)
|
while (CurrentEntry != &Window->WndObjListHead)
|
||||||
{
|
{
|
||||||
|
@ -189,7 +188,6 @@ IntEngWindowChanged(
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
ExReleaseFastMutex(&Window->WndObjListLock);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -255,9 +253,7 @@ EngCreateWnd(
|
||||||
WndObjInt->PixelFormat = iPixelFormat;
|
WndObjInt->PixelFormat = iPixelFormat;
|
||||||
|
|
||||||
/* associate object with window */
|
/* associate object with window */
|
||||||
ExAcquireFastMutex(&Window->WndObjListLock);
|
|
||||||
InsertTailList(&Window->WndObjListHead, &WndObjInt->ListEntry);
|
InsertTailList(&Window->WndObjListHead, &WndObjInt->ListEntry);
|
||||||
ExReleaseFastMutex(&Window->WndObjListLock);
|
|
||||||
|
|
||||||
/* release resources */
|
/* release resources */
|
||||||
IntReleaseWindowObject(Window);
|
IntReleaseWindowObject(Window);
|
||||||
|
@ -305,9 +301,7 @@ EngDeleteWnd(
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
/* Remove object from window */
|
/* Remove object from window */
|
||||||
ExAcquireFastMutex(&Window->WndObjListLock);
|
|
||||||
RemoveEntryList(&WndObjInt->ListEntry);
|
RemoveEntryList(&WndObjInt->ListEntry);
|
||||||
ExReleaseFastMutex(&Window->WndObjListLock);
|
|
||||||
IntReleaseWindowObject(Window);
|
IntReleaseWindowObject(Window);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -94,7 +94,6 @@ typedef struct _WINDOW_OBJECT
|
||||||
ULONG TiledCounter;
|
ULONG TiledCounter;
|
||||||
/* WNDOBJ list */
|
/* WNDOBJ list */
|
||||||
LIST_ENTRY WndObjListHead;
|
LIST_ENTRY WndObjListHead;
|
||||||
FAST_MUTEX WndObjListLock;
|
|
||||||
} WINDOW_OBJECT; /* PWINDOW_OBJECT already declared at top of file */
|
} WINDOW_OBJECT; /* PWINDOW_OBJECT already declared at top of file */
|
||||||
|
|
||||||
/* Window flags. */
|
/* Window flags. */
|
||||||
|
|
|
@ -1591,7 +1591,6 @@ co_IntCreateWindowEx(DWORD dwExStyle,
|
||||||
|
|
||||||
InitializeListHead(&Window->PropListHead);
|
InitializeListHead(&Window->PropListHead);
|
||||||
InitializeListHead(&Window->WndObjListHead);
|
InitializeListHead(&Window->WndObjListHead);
|
||||||
ExInitializeFastMutex(&Window->WndObjListLock);
|
|
||||||
|
|
||||||
if (NULL != WindowName->Buffer)
|
if (NULL != WindowName->Buffer)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue