From aa25fb6d2c8a23557255a7edba55b4009cefe704 Mon Sep 17 00:00:00 2001 From: Thomas Bluemel Date: Mon, 5 Apr 2004 21:26:30 +0000 Subject: [PATCH] disable thread-safety, seems to cause some problems atm svn path=/trunk/; revision=8982 --- reactos/subsys/win32k/ntuser/windc.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/reactos/subsys/win32k/ntuser/windc.c b/reactos/subsys/win32k/ntuser/windc.c index 4ee1b71e044..4d060e71f6a 100644 --- a/reactos/subsys/win32k/ntuser/windc.c +++ b/reactos/subsys/win32k/ntuser/windc.c @@ -16,7 +16,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ -/* $Id: windc.c,v 1.63 2004/04/05 21:15:34 weiden Exp $ +/* $Id: windc.c,v 1.64 2004/04/05 21:26:30 weiden Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -55,11 +55,18 @@ static FAST_MUTEX DceListLock; static PDCE FirstDce = NULL; static HDC defaultDCstate; +#if 0 + #define DCE_LockList() \ ExAcquireFastMutex(&DceListLock) #define DCE_UnlockList() \ ExReleaseFastMutex(&DceListLock) +#else +#define DCE_LockList() +#define DCE_UnlockList() +#endif + #define DCX_CACHECOMPAREMASK (DCX_CLIPSIBLINGS | DCX_CLIPCHILDREN | \ DCX_CACHE | DCX_WINDOW | DCX_PARENTCLIP)