1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> 2<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> 3<title>OsclMem class Reference</title> 4<link href="doxygen.css" rel="stylesheet" type="text/css"> 5</head><body> 6<!-- Generated by Doxygen 1.2.18 --> 7<center> 8<a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="modules.html">Modules</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="annotated.html">Data Structures</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Data Fields</a> <a class="qindex" href="globals.html">Globals</a> </center> 9<hr><h1>OsclMem Class Reference<br> 10<small> 11[<a class="el" href="group__osclmemory.html">OSCL Memory</a>]</small> 12</h1><code>#include <<a class="el" href="oscl__mem_8h-source.html">oscl_mem.h</a>></code> 13<p> 14<table border=0 cellpadding=0 cellspacing=0> 15<tr><td></td></tr> 16<tr><td colspan=2><br><h2>Static Public Methods</h2></td></tr> 17<tr><td nowrap align=right valign=top>OSCL_IMPORT_REF void </td><td valign=bottom><a class="el" href="classOsclMem.html#d0">Init</a> ()</td></tr> 18<tr><td nowrap align=right valign=top>OSCL_IMPORT_REF void </td><td valign=bottom><a class="el" href="classOsclMem.html#d1">Cleanup</a> ()</td></tr> 19</table> 20<hr><h2>Member Function Documentation</h2> 21<a name="d1" doxytag="OsclMem::Cleanup"></a><p> 22<table width="100%" cellpadding="2" cellspacing="0" border="0"> 23 <tr> 24 <td class="md"> 25 <table cellpadding="0" cellspacing="0" border="0"> 26 <tr> 27 <td class="md" nowrap valign="top"> OSCL_IMPORT_REF void OsclMem::Cleanup </td> 28 <td class="md" valign="top">( </td> 29 <td class="mdname1" valign="top" nowrap> </td> 30 <td class="md" valign="top">) </td> 31 <td class="md" nowrap><code> [static]</code></td> 32 </tr> 33 34 </table> 35 </td> 36 </tr> 37</table> 38<table cellspacing=5 cellpadding=0 border=0> 39 <tr> 40 <td> 41 42 </td> 43 <td> 44 45<p> 46Per-thread cleanup of Oscl Memory @exception: Leaves on error; </td> 47 </tr> 48</table> 49<a name="d0" doxytag="OsclMem::Init"></a><p> 50<table width="100%" cellpadding="2" cellspacing="0" border="0"> 51 <tr> 52 <td class="md"> 53 <table cellpadding="0" cellspacing="0" border="0"> 54 <tr> 55 <td class="md" nowrap valign="top"> OSCL_IMPORT_REF void OsclMem::Init </td> 56 <td class="md" valign="top">( </td> 57 <td class="mdname1" valign="top" nowrap> </td> 58 <td class="md" valign="top">) </td> 59 <td class="md" nowrap><code> [static]</code></td> 60 </tr> 61 62 </table> 63 </td> 64 </tr> 65</table> 66<table cellspacing=5 cellpadding=0 border=0> 67 <tr> 68 <td> 69 70 </td> 71 <td> 72 73<p> 74Per-thread initialization of Oscl Memory <dl compact><dt><b>Parameters: </b></dt><dd> 75<table border=0 cellspacing=2 cellpadding=0> 76<tr><td valign=top><em>lock:</em> </td><td> 77A lock class for use with multi-threaded applications. The lock is needed in use cases where memory may be allocated in one thread and freed in another. In this case, there must be a single lock object, and its pointer must be passed to the <a class="el" href="classOsclMem.html#d0">OsclMem::Init</a> call in each thread. If no lock is provided, the memory manager will not be thread-safe. @exception: Leaves on error </td></tr> 78</table> 79</dl> </td> 80 </tr> 81</table> 82<hr>The documentation for this class was generated from the following file:<ul> 83<li><a class="el" href="oscl__mem_8h-source.html">oscl_mem.h</a></ul> 84<hr size="1"><img src="pvlogo_small.jpg"><address style="align: right;"><small>OSCL API</small> 85<address style="align: left;"><small>Posting Version: OPENCORE_20090310 </small> 86</small></address> 87</body> 88</html> 89