1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml">
3  <head>
4    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5    <meta http-equiv="Content-Style-Type" content="text/css" />
6    <link rel="stylesheet" href="../../../css/manpage.css" type="text/css" />
7<title>CriticalSection</title>
8  </head>
9  <body>
10<h1><CODE>nn::os::CriticalSection::CriticalSection</CODE> Constructor</h1>
11<h2>Syntax</h2>
12    <div class="section">
13      <pre class="definition">#include &lt;nn/os.h&gt;
14
15CriticalSection();
16
17CriticalSection(
18     const nn::WithInitialize &
19);
20</pre>
21    </div>
22<h2>List of Overloaded Member Functions</h2>
23    <div class="section">
24      <table class="members">
25        <tr>
26          <td>
27<a href="./CriticalSection(0).html"><CODE>CriticalSection( )</CODE> </a>
28          </td>
29<td>Constructs an object.</td>
30        </tr>
31        <tr>
32          <td>
33<a href="./CriticalSection(1).html"><CODE>CriticalSection(const nn::WithInitialize &)</CODE> </a>
34          </td>
35<td>Constructs and initializes an object.</td>
36        </tr> </table>
37    </div>
38<h2>Description of <CODE>CriticalSection( )</CODE></h2>
39<div class="section"><p>Two constructors are provided: one performs initialization, and the other does not.</p><p>If you use the non-initializing version, you must call <CODE><a href="../../../nn/os/CriticalSection/Initialize.html">Initialize</a></CODE> to explicitly initialize the object before you use it.</p></div>
40<h2>Description of <CODE>CriticalSection(const nn::WithInitialize &)</CODE></h2>
41    <div class="section">
42<p>Constructs and initializes an object.</p>
43    </div>
44  <hr><p>CONFIDENTIAL</p></body>
45</html>