Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
933 B

  1. /**************************************************************************\
  2. *
  3. * Copyright (c) 1999 Microsoft Corporation
  4. *
  5. * Module Name:
  6. *
  7. * critsec.cpp
  8. *
  9. * Abstract:
  10. *
  11. * Critical Section object for protecting LoadLibrary calls
  12. *
  13. * Revision History:
  14. *
  15. * 3/17/2000 asecchia
  16. * Created it.
  17. *
  18. \**************************************************************************/
  19. #include "precomp.hpp"
  20. CRITICAL_SECTION LoadLibraryCriticalSection::critSec;
  21. BOOL LoadLibraryCriticalSection::initialized= FALSE;
  22. CRITICAL_SECTION GpMallocTrackingCriticalSection::critSec;
  23. INT GpMallocTrackingCriticalSection::refCount = 0;
  24. CRITICAL_SECTION GdiplusStartupCriticalSection::critSec;
  25. BOOL GdiplusStartupCriticalSection::initialized = FALSE;
  26. CRITICAL_SECTION BackgroundThreadCriticalSection::critSec;
  27. BOOL BackgroundThreadCriticalSection::initialized = FALSE;