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.

27 lines
673 B

  1. /***************************************************************************\
  2. *
  3. * File: Locks.cpp
  4. *
  5. * Description:
  6. * Locks.h implements a collection wrappers used to maintain critical sections
  7. * and other locking devices.
  8. *
  9. *
  10. * History:
  11. * 3/30/2000: JStall: Created
  12. *
  13. * Copyright (C) 2000 by Microsoft Corporation. All rights reserved.
  14. *
  15. \***************************************************************************/
  16. #include "stdafx.h"
  17. #include "Base.h"
  18. #include "Locks.h"
  19. //
  20. // NOTE: Must default to multiple threaded. We can only turn this off if this
  21. // is the first Context that is initialized.
  22. //
  23. BOOL g_fThreadSafe = TRUE;