Panda3D
Main Page
Classes
Files
File List
All
Classes
Functions
Variables
Enumerations
dtool
src
dtoolbase
mutexDummyImpl.h
1
// Filename: mutexDummyImpl.h
2
// Created by: drose (08Aug02)
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
#ifndef MUTEXDUMMYIMPL_H
16
#define MUTEXDUMMYIMPL_H
17
18
#include "dtoolbase.h"
19
#include "selectThreadImpl.h"
20
21
////////////////////////////////////////////////////////////////////
22
// Class : MutexDummyImpl
23
// Description : A fake mutex implementation for single-threaded
24
// applications that don't need any synchronization
25
// control. This does nothing at all.
26
////////////////////////////////////////////////////////////////////
27
class
EXPCL_DTOOL
MutexDummyImpl
{
28
public
:
29
INLINE
MutexDummyImpl
();
30
INLINE ~MutexDummyImpl();
31
32
INLINE
void
acquire();
33
INLINE
bool
try_acquire();
34
INLINE
void
release();
35
};
36
37
#include "mutexDummyImpl.I"
38
39
#endif
MutexDummyImpl
A fake mutex implementation for single-threaded applications that don't need any synchronization cont...
Definition:
mutexDummyImpl.h:27
Generated on Mon Feb 1 2016 13:44:15 for Panda3D by
1.8.5