disable thread-safety, seems to cause some problems atm

svn path=/trunk/; revision=8982
This commit is contained in:
Thomas Bluemel 2004-04-05 21:26:30 +00:00
parent ba87a9d7a1
commit aa25fb6d2c

View file

@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * 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 * COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel * PROJECT: ReactOS kernel
@ -55,11 +55,18 @@ static FAST_MUTEX DceListLock;
static PDCE FirstDce = NULL; static PDCE FirstDce = NULL;
static HDC defaultDCstate; static HDC defaultDCstate;
#if 0
#define DCE_LockList() \ #define DCE_LockList() \
ExAcquireFastMutex(&DceListLock) ExAcquireFastMutex(&DceListLock)
#define DCE_UnlockList() \ #define DCE_UnlockList() \
ExReleaseFastMutex(&DceListLock) ExReleaseFastMutex(&DceListLock)
#else
#define DCE_LockList()
#define DCE_UnlockList()
#endif
#define DCX_CACHECOMPAREMASK (DCX_CLIPSIBLINGS | DCX_CLIPCHILDREN | \ #define DCX_CACHECOMPAREMASK (DCX_CLIPSIBLINGS | DCX_CLIPCHILDREN | \
DCX_CACHE | DCX_WINDOW | DCX_PARENTCLIP) DCX_CACHE | DCX_WINDOW | DCX_PARENTCLIP)