Imported Upstream version 1.57.0
[platform/upstream/boost.git] / libs / log / doc / html / boost / log / thread_access__idp40412976.html
1 <html>
2 <head>
3 <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
4 <title>Struct template thread_access_mode_of&lt;lock_guard&lt; MutexT &gt;&gt;</title>
5 <link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css">
6 <meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
7 <link rel="home" href="../../index.html" title="Chapter&#160;1.&#160;Boost.Log v2">
8 <link rel="up" href="../../utilities.html#header.boost.log.utility.strictest_lock_hpp" title="Header &lt;boost/log/utility/strictest_lock.hpp&gt;">
9 <link rel="prev" href="thread_access__idp40410720.html" title="Struct template thread_access_mode_of&lt;no_lock&lt; MutexT &gt;&gt;">
10 <link rel="next" href="thread_access__idp40415232.html" title="Struct template thread_access_mode_of&lt;unique_lock&lt; MutexT &gt;&gt;">
11 </head>
12 <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
13 <table cellpadding="2" width="100%"><tr><td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../boost.png"></td></tr></table>
14 <hr>
15 <div class="spirit-nav">
16 <a accesskey="p" href="thread_access__idp40410720.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../utilities.html#header.boost.log.utility.strictest_lock_hpp"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="thread_access__idp40415232.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
17 </div>
18 <div class="refentry">
19 <a name="boost.log.thread_access__idp40412976"></a><div class="titlepage"></div>
20 <div class="refnamediv">
21 <h2><span class="refentrytitle">Struct template thread_access_mode_of&lt;lock_guard&lt; MutexT &gt;&gt;</span></h2>
22 <p>boost::log::thread_access_mode_of&lt;lock_guard&lt; MutexT &gt;&gt;</p>
23 </div>
24 <h2 xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv-title">Synopsis</h2>
25 <div xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="../../utilities.html#header.boost.log.utility.strictest_lock_hpp" title="Header &lt;boost/log/utility/strictest_lock.hpp&gt;">boost/log/utility/strictest_lock.hpp</a>&gt;
26
27 </span><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> MutexT<span class="special">&gt;</span> 
28 <span class="keyword">struct</span> <a class="link" href="thread_access__idp40412976.html" title="Struct template thread_access_mode_of&lt;lock_guard&lt; MutexT &gt;&gt;">thread_access_mode_of</a><span class="special">&lt;</span><span class="identifier">lock_guard</span><span class="special">&lt;</span> <span class="identifier">MutexT</span> <span class="special">&gt;</span><span class="special">&gt;</span> <span class="special">:</span>
29   <span class="keyword">public</span> <span class="identifier">mpl</span><span class="special">::</span><span class="identifier">integral_c</span><span class="special">&lt;</span> <span class="identifier">lock_access_mode</span><span class="special">,</span> <span class="identifier">exclusive_access</span> <span class="special">&gt;</span>
30 <span class="special">{</span>
31 <span class="special">}</span><span class="special">;</span></pre></div>
32 </div>
33 <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
34 <td align="left"></td>
35 <td align="right"><div class="copyright-footer">Copyright &#169; 2007-2014 Andrey Semashev<p>
36         Distributed under the Boost Software License, Version 1.0. (See accompanying
37         file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>).
38       </p>
39 </div></td>
40 </tr></table>
41 <hr>
42 <div class="spirit-nav">
43 <a accesskey="p" href="thread_access__idp40410720.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../utilities.html#header.boost.log.utility.strictest_lock_hpp"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="thread_access__idp40415232.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
44 </div>
45 </body>
46 </html>