| 1 | <?xml version="1.0" encoding="UTF-8" standalone="no"?> |
| 2 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 3 | <html xmlns="http://www.w3.org/1999/xhtml"> |
| 4 | <head> |
| 5 | <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> |
| 6 | <title>alloc_mutex</title> |
| 7 | <link rel="stylesheet" href="apiReference.css" type="text/css" /> |
| 8 | <meta name="generator" content="DocBook XSL Stylesheets V1.73.2" /> |
| 9 | <link rel="start" href="index.html" title="Berkeley DB C++ Standard Template Library API Reference" /> |
| 10 | <link rel="up" href="dbstl_global_functions.html" title="Chapter 1. Dbstl Global Public Functions" /> |
| 11 | <link rel="prev" href="stldbstl_global_functionsopen_env.html" title="open_env" /> |
| 12 | <link rel="next" href="stldbstl_global_functionslock_mutex.html" title="lock_mutex" /> |
| 13 | </head> |
| 14 | <body> |
| 15 | <div xmlns="" class="navheader"> |
| 16 | <div class="libver"> |
| 17 | <p>Library Version 11.2.5.3</p> |
| 18 | </div> |
| 19 | <table width="100%" summary="Navigation header"> |
| 20 | <tr> |
| 21 | <th colspan="3" align="center">alloc_mutex</th> |
| 22 | </tr> |
| 23 | <tr> |
| 24 | <td width="20%" align="left"><a accesskey="p" href="stldbstl_global_functionsopen_env.html">Prev</a> </td> |
| 25 | <th width="60%" align="center">Chapter 1. |
| 26 | Dbstl Global Public Functions </th> |
| 27 | <td width="20%" align="right"> <a accesskey="n" href="stldbstl_global_functionslock_mutex.html">Next</a></td> |
| 28 | </tr> |
| 29 | </table> |
| 30 | <hr /> |
| 31 | </div> |
| 32 | <div class="sect1" lang="en" xml:lang="en"> |
| 33 | <div class="titlepage"> |
| 34 | <div> |
| 35 | <div> |
| 36 | <h2 class="title" style="clear: both"><a id="stldbstl_global_functionsalloc_mutex"></a>alloc_mutex</h2> |
| 37 | </div> |
| 38 | </div> |
| 39 | </div> |
| 40 | <div class="sect2" lang="en" xml:lang="en"> |
| 41 | <div class="titlepage"> |
| 42 | <div> |
| 43 | <div> |
| 44 | <h3 class="title"><a id="stldbstl_global_functionsalloc_mutex_details"></a>Function Details</h3> |
| 45 | </div> |
| 46 | </div> |
| 47 | </div> |
| 48 | <pre class="programlisting"> |
| 49 | db_mutex_t alloc_mutex() |
| 50 | </pre> |
| 51 | <p>Allocate a Berkeley DB mutex. </p> |
| 52 | <div class="sect3" lang="en" xml:lang="en"> |
| 53 | <div class="titlepage"> |
| 54 | <div> |
| 55 | <div> |
| 56 | <h4 class="title"><a id="idp49943000"></a>Return Value</h4> |
| 57 | </div> |
| 58 | </div> |
| 59 | </div> |
| 60 | <p>Berkeley DB mutex handle. </p> |
| 61 | </div> |
| 62 | </div> |
| 63 | <div class="sect2" lang="en" xml:lang="en"> |
| 64 | <div class="titlepage"> |
| 65 | <div> |
| 66 | <div> |
| 67 | <h3 class="title"><a id="idp49947696"></a>Group: Mutex API based on Berkeley DB mutex.</h3> |
| 68 | </div> |
| 69 | </div> |
| 70 | </div> |
| 71 | <p>These functions are in-process mutex support which uses Berkeley DB mutex mechanisms.</p> |
| 72 | <p>You can call these functions to do portable synchronization for your code. </p> |
| 73 | </div> |
| 74 | <div class="sect2" lang="en" xml:lang="en"> |
| 75 | <div class="titlepage"> |
| 76 | <div> |
| 77 | <div> |
| 78 | <h3 class="title"><a id="idp49962424"></a>Class</h3> |
| 79 | </div> |
| 80 | </div> |
| 81 | </div> |
| 82 | <p> |
| 83 | <a class="link" href="dbstl_global_functions.html" title="Chapter 1. Dbstl Global Public Functions">dbstl_global_functions</a> |
| 84 | </p> |
| 85 | </div> |
| 86 | </div> |
| 87 | <div class="navfooter"> |
| 88 | <hr /> |
| 89 | <table width="100%" summary="Navigation footer"> |
| 90 | <tr> |
| 91 | <td width="40%" align="left"><a accesskey="p" href="stldbstl_global_functionsopen_env.html">Prev</a> </td> |
| 92 | <td width="20%" align="center"> |
| 93 | <a accesskey="u" href="dbstl_global_functions.html">Up</a> |
| 94 | </td> |
| 95 | <td width="40%" align="right"> <a accesskey="n" href="stldbstl_global_functionslock_mutex.html">Next</a></td> |
| 96 | </tr> |
| 97 | <tr> |
| 98 | <td width="40%" align="left" valign="top">open_env </td> |
| 99 | <td width="20%" align="center"> |
| 100 | <a accesskey="h" href="index.html">Home</a> |
| 101 | </td> |
| 102 | <td width="40%" align="right" valign="top"> lock_mutex</td> |
| 103 | </tr> |
| 104 | </table> |
| 105 | </div> |
| 106 | </body> |
| 107 | </html> |