32 lines
908 B
C++
32 lines
908 B
C++
// Filename: mutexWin32Impl.cxx
|
|
// Created by: drose (07Feb06)
|
|
//
|
|
////////////////////////////////////////////////////////////////////
|
|
//
|
|
// PANDA 3D SOFTWARE
|
|
// Copyright (c) Carnegie Mellon University. All rights reserved.
|
|
//
|
|
// All use of this software is subject to the terms of the revised BSD
|
|
// license. You should have received a copy of this license along
|
|
// with this source code in a file named "LICENSE."
|
|
//
|
|
////////////////////////////////////////////////////////////////////
|
|
|
|
#include "selectThreadImpl.h"
|
|
|
|
#ifdef WIN32_VC
|
|
|
|
#include "mutexWin32Impl.h"
|
|
|
|
////////////////////////////////////////////////////////////////////
|
|
// Function: MutexWin32Impl::Constructor
|
|
// Access: Public
|
|
// Description:
|
|
////////////////////////////////////////////////////////////////////
|
|
MutexWin32Impl::
|
|
MutexWin32Impl() {
|
|
InitializeCriticalSectionAndSpinCount(&_lock, 4000);
|
|
}
|
|
|
|
#endif // WIN32_VC
|