aboutsummaryrefslogtreecommitdiff
path: root/doc/oscl_html/oscl__lock__base_8h.html
blob: 2f0f3e51ea12c18a099c6ff48f2bc4d8a22f09f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>oscl: oscl_lock_base.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.6.3 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="files.html"><span>File&nbsp;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>oscl_lock_base.h File Reference</h1>
<p>This file defines an abstract lock class, <a class="el" href="classOsclLockBase.html">OsclLockBase</a>, that is used for APIs potentially requiring multi-thread safety. A null-lock implementation, <a class="el" href="classOsclNullLock.html">OsclNullLock</a>, is also provided for single-thread configurations (basically a noop for lock/unlock). Also provides the <a class="el" href="classOsclScopedLock.html" title="The OsclScopedLock class is a template class that handles unlocking an abstract class...">OsclScopedLock</a> class which is template class takes care of freeing the lock when the class goes out of scope.  
<a href="#_details">More...</a></p>

<p><a href="oscl__lock__base_8h_source.html">Go to the source code of this file.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Data Structures</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOsclLockBase.html">OsclLockBase</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOsclNullLock.html">OsclNullLock</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOsclScopedLock.html">OsclScopedLock&lt; LockClass &gt;</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The <a class="el" href="classOsclScopedLock.html" title="The OsclScopedLock class is a template class that handles unlocking an abstract class...">OsclScopedLock</a> class is a template class that handles unlocking an abstract class on destruction. This is very useful for ensuring that the lock is released when the <a class="el" href="classOsclScopedLock.html" title="The OsclScopedLock class is a template class that handles unlocking an abstract class...">OsclScopedLock</a> goes out of scope.  <a href="classOsclScopedLock.html#_details">More...</a><br/></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>This file defines an abstract lock class, <a class="el" href="classOsclLockBase.html">OsclLockBase</a>, that is used for APIs potentially requiring multi-thread safety. A null-lock implementation, <a class="el" href="classOsclNullLock.html">OsclNullLock</a>, is also provided for single-thread configurations (basically a noop for lock/unlock). Also provides the <a class="el" href="classOsclScopedLock.html" title="The OsclScopedLock class is a template class that handles unlocking an abstract class...">OsclScopedLock</a> class which is template class takes care of freeing the lock when the class goes out of scope. </p>
</div>
<hr size="1"><img src="pvlogo_small.jpg"><address style="align: right;"><small>OSCL API</small>
<address style="align: left;"><small>Posting Version: CORE_9.004.1.1 </small>
</small></address>
</body>
</html>