1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
<html xmlns="http://www.w3.org/1999/xhtml">
4
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
5
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
6
<title>DSPatch: DspMutex Class Reference</title>
8
<link href="tabs.css" rel="stylesheet" type="text/css"/>
9
<link href="doxygen.css" rel="stylesheet" type="text/css" />
11
<link href="search/search.css" rel="stylesheet" type="text/css"/>
12
<script type="text/javascript" src="jquery.js"></script>
13
<script type="text/javascript" src="search/search.js"></script>
14
<script type="text/javascript">
15
$(document).ready(function() { searchBox.OnSelectItem(0); });
20
<div id="top"><!-- do not remove this div! -->
24
<table cellspacing="0" cellpadding="0">
26
<tr style="height: 56px;">
28
<td id="projectlogo"><img alt="Logo" src="heartbeat.png"/></td>
31
<td style="padding-left: 0.5em;">
32
<div id="projectname">DSPatch
33
 <span id="projectnumber">v.2.51</span>
35
<div id="projectbrief">C++ Cross-Platform, Object-Oriented, Flow-Based Programming Library</div>
45
<!-- Generated by Doxygen 1.8.0 -->
46
<script type="text/javascript">
47
var searchBox = new SearchBox("searchBox", "search",false,'Search');
49
<div id="navrow1" class="tabs">
51
<li><a href="index.html"><span>Main Page</span></a></li>
52
<li><a href="pages.html"><span>Related Pages</span></a></li>
53
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
54
<li><a href="files.html"><span>Files</span></a></li>
56
<div id="MSearchBox" class="MSearchBoxInactive">
58
<img id="MSearchSelect" src="search/mag_sel.png"
59
onmouseover="return searchBox.OnSearchSelectShow()"
60
onmouseout="return searchBox.OnSearchSelectHide()"
62
<input type="text" id="MSearchField" value="Search" accesskey="S"
63
onfocus="searchBox.OnSearchFieldFocus(true)"
64
onblur="searchBox.OnSearchFieldFocus(false)"
65
onkeyup="searchBox.OnSearchFieldChange(event)"/>
66
</span><span class="right">
67
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
73
<div id="navrow2" class="tabs2">
75
<li><a href="annotated.html"><span>Class List</span></a></li>
76
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
79
<!-- window showing the filter options -->
80
<div id="MSearchSelectWindow"
81
onmouseover="return searchBox.OnSearchSelectShow()"
82
onmouseout="return searchBox.OnSearchSelectHide()"
83
onkeydown="return searchBox.OnSearchSelectKey(event)">
84
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Classes</a></div>
86
<!-- iframe showing the search results (closed by default) -->
87
<div id="MSearchResultsWindow">
88
<iframe src="javascript:void(0)" frameborder="0"
89
name="MSearchResults" id="MSearchResults">
96
<a href="#pub-static-methods">Static Public Member Functions</a> </div>
97
<div class="headertitle">
98
<div class="title">DspMutex Class Reference</div> </div>
100
<div class="contents">
102
<p>Cross-platform, object-oriented mutex.
103
<a href="class_dsp_mutex.html#details">More...</a></p>
105
<p><code>#include <<a class="el" href="_dsp_thread_null_8h_source.html">DspThreadNull.h</a>></code></p>
107
<p><a href="class_dsp_mutex-members.html">List of all members.</a></p>
108
<table class="memberdecls">
109
<tr><td colspan="2"><h2><a name="pub-static-methods"></a>
110
Static Public Member Functions</h2></td></tr>
111
<tr class="memitem:a96f4b7364c43e1e84de47c96e353a36a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a96f4b7364c43e1e84de47c96e353a36a"></a>
112
static void </td><td class="memItemRight" valign="bottom"><b>Lock</b> ()</td></tr>
113
<tr class="memitem:a99d5b2cd3619356e879a92bfc10a8684"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a99d5b2cd3619356e879a92bfc10a8684"></a>
114
static void </td><td class="memItemRight" valign="bottom"><b>Unlock</b> ()</td></tr>
116
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
117
<div class="textblock"><p>Cross-platform, object-oriented mutex. </p>
118
<p><a class="el" href="class_dsp_mutex.html" title="Cross-platform, object-oriented mutex.">DspMutex</a> is a simple mutex that can lock a critical section of code for exclusive access by the calling thread. Other threads attempting to acquire a lock while another has acquired it will wait at the Lock() method call until the thread that owns the mutex calls Unlock(). </p>
120
<p>Definition at line <a class="el" href="_dsp_thread_null_8h_source.html#l00076">76</a> of file <a class="el" href="_dsp_thread_null_8h_source.html">DspThreadNull.h</a>.</p>
121
</div><hr/>The documentation for this class was generated from the following file:<ul>
122
<li><a class="el" href="_dsp_thread_null_8h_source.html">DspThreadNull.h</a></li>
124
</div><!-- contents -->
127
<hr class="footer"/><address class="footer"><small>
128
Generated on Fri Sep 13 2013 07:57:23 for DSPatch by  <a href="http://www.doxygen.org/index.html">
129
<img class="footer" src="doxygen.png" alt="doxygen"/>