Panda3D
mutexWin32Impl.cxx
1 // Filename: mutexWin32Impl.cxx
2 // Created by: drose (07Feb06)
3 //
4 ////////////////////////////////////////////////////////////////////
5 //
6 // PANDA 3D SOFTWARE
7 // Copyright (c) Carnegie Mellon University. All rights reserved.
8 //
9 // All use of this software is subject to the terms of the revised BSD
10 // license. You should have received a copy of this license along
11 // with this source code in a file named "LICENSE."
12 //
13 ////////////////////////////////////////////////////////////////////
14 
15 #include "selectThreadImpl.h"
16 
17 #ifdef WIN32_VC
18 
19 #include "mutexWin32Impl.h"
20 
21 ////////////////////////////////////////////////////////////////////
22 // Function: MutexWin32Impl::Constructor
23 // Access: Public
24 // Description:
25 ////////////////////////////////////////////////////////////////////
26 MutexWin32Impl::
27 MutexWin32Impl() {
28  InitializeCriticalSectionAndSpinCount(&_lock, 4000);
29 }
30 
31 #endif // WIN32_VC