Realistic 3D camera system
3D camera system components
Main Page
Modules
Namespaces
Classes
Files
File List
File Members
asio-1.10.6
include
asio
detail
null_mutex.hpp
Go to the documentation of this file.
1
//
2
// detail/null_mutex.hpp
3
// ~~~~~~~~~~~~~~~~~~~~~
4
//
5
// Copyright (c) 2003-2015 Christopher M. Kohlhoff (chris at kohlhoff dot com)
6
//
7
// Distributed under the Boost Software License, Version 1.0. (See accompanying
8
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
9
//
10
11
#ifndef ASIO_DETAIL_NULL_MUTEX_HPP
12
#define ASIO_DETAIL_NULL_MUTEX_HPP
13
14
#if defined(_MSC_VER) && (_MSC_VER >= 1200)
15
# pragma once
16
#endif // defined(_MSC_VER) && (_MSC_VER >= 1200)
17
18
#include "
asio/detail/config.hpp
"
19
20
#if !defined(ASIO_HAS_THREADS)
21
22
#include "
asio/detail/noncopyable.hpp
"
23
#include "
asio/detail/scoped_lock.hpp
"
24
25
#include "
asio/detail/push_options.hpp
"
26
27
namespace
asio
{
28
namespace
detail {
29
30
class
null_mutex
31
:
private
noncopyable
32
{
33
public
:
34
typedef
asio::detail::scoped_lock<null_mutex>
scoped_lock
;
35
36
// Constructor.
37
null_mutex
()
38
{
39
}
40
41
// Destructor.
42
~null_mutex
()
43
{
44
}
45
46
// Lock the mutex.
47
void
lock
()
48
{
49
}
50
51
// Unlock the mutex.
52
void
unlock
()
53
{
54
}
55
};
56
57
}
// namespace detail
58
}
// namespace asio
59
60
#include "
asio/detail/pop_options.hpp
"
61
62
#endif // !defined(ASIO_HAS_THREADS)
63
64
#endif // ASIO_DETAIL_NULL_MUTEX_HPP
asio::detail::null_mutex
Definition:
null_mutex.hpp:30
asio::detail::null_mutex::lock
void lock()
Definition:
null_mutex.hpp:47
asio::detail::scoped_lock
Definition:
scoped_lock.hpp:27
asio::detail::null_mutex::null_mutex
null_mutex()
Definition:
null_mutex.hpp:37
config.hpp
asio::detail::noncopyable
Definition:
noncopyable.hpp:25
push_options.hpp
asio::detail::null_mutex::~null_mutex
~null_mutex()
Definition:
null_mutex.hpp:42
scoped_lock.hpp
asio::detail::null_mutex::scoped_lock
asio::detail::scoped_lock< null_mutex > scoped_lock
Definition:
null_mutex.hpp:34
pop_options.hpp
noncopyable.hpp
asio::detail::null_mutex::unlock
void unlock()
Definition:
null_mutex.hpp:52
asio
Definition:
async_result.hpp:23
Generated by
1.8.11