Debian Codegraph @

docs/api_reference/CXX/mutex_set_align_parameter.html

raw symbols SCIP
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>mutex_set_align</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++ API Reference" />
10 <link rel="up" href="configuration_reference.html" title="Appendix B. DB_CONFIG Parameter Reference" />
11 <link rel="prev" href="add_data_dir_parameter.html" title="add_data_dir" />
12 <link rel="next" href="mutex_set_increment_parameter.html" title="mutex_set_increment" />
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">mutex_set_align</th>
22 </tr>
23 <tr>
24 <td width="20%" align="left"><a accesskey="p" href="add_data_dir_parameter.html">Prev</a> </td>
25 <th width="60%" align="center">Appendix B. DB_CONFIG Parameter Reference</th>
26 <td width="20%" align="right"> <a accesskey="n" href="mutex_set_increment_parameter.html">Next</a></td>
27 </tr>
28 </table>
29 <hr />
30 </div>
31 <div class="sect1" lang="en" xml:lang="en">
32 <div class="titlepage">
33 <div>
34 <div>
35 <h2 class="title" style="clear: both"><a id="mutex_set_align_parameter"></a>mutex_set_align</h2>
36 </div>
37 </div>
38 </div>
39 <p>
40 Sets the mutex alignment, in bytes. It is sometimes advantageous to
41 align mutexes on specific byte boundaries in order to minimize
42 cache line collisions. This parameter specifies an alignment for
43 mutexes allocated by Berkeley DB.
44 </p>
45 <p>
46 The syntax of this parameter in the <a href="../../programmer_reference/env_db_config.html#env_db_config.DB_CONFIG" class="olink">DB_CONFIG</a> file is a single
47 line with the string <code class="literal">mutex_set_align</code>, one or
48 more whitespace characters, and the mutex alignment in bytes.
49 Because the DB_CONFIG file is read when the database environment
50 is opened, it will silently overrule configuration done before
51 that time.
52 </p>
53 <p>
54 For more information, see
55 <a class="xref" href="mutexset_align.html" title="DbEnv::mutex_set_align()">DbEnv::mutex_set_align()</a>.
56 </p>
57 </div>
58 <div class="navfooter">
59 <hr />
60 <table width="100%" summary="Navigation footer">
61 <tr>
62 <td width="40%" align="left"><a accesskey="p" href="add_data_dir_parameter.html">Prev</a> </td>
63 <td width="20%" align="center">
64 <a accesskey="u" href="configuration_reference.html">Up</a>
65 </td>
66 <td width="40%" align="right"> <a accesskey="n" href="mutex_set_increment_parameter.html">Next</a></td>
67 </tr>
68 <tr>
69 <td width="40%" align="left" valign="top">add_data_dir </td>
70 <td width="20%" align="center">
71 <a accesskey="h" href="index.html">Home</a>
72 </td>
73 <td width="40%" align="right" valign="top"> mutex_set_increment</td>
74 </tr>
75 </table>
76 </div>
77 </body>
78 </html>