ffc6538266877fee7df9ae72eb3f2db08c40a257
[m6w6/libmemcached] / libmemcachedutil.html
1
2
3 <!DOCTYPE html>
4 <html class="writer-html5" lang="en" >
5 <head>
6 <meta charset="utf-8">
7
8 <meta name="viewport" content="width=device-width, initial-scale=1.0">
9
10 <title>libmemcachedutil - C/C++ utilities extending libmemcached &mdash; libmemcached 1.0.99 documentation</title>
11
12
13
14 <link rel="stylesheet" href="_static/css/theme.css" type="text/css" />
15 <link rel="stylesheet" href="_static/pygments.css" type="text/css" />
16
17
18
19
20
21
22
23 <!--[if lt IE 9]>
24 <script src="_static/js/html5shiv.min.js"></script>
25 <![endif]-->
26
27
28 <script type="text/javascript" id="documentation_options" data-url_root="./" src="_static/documentation_options.js"></script>
29 <script src="_static/jquery.js"></script>
30 <script src="_static/underscore.js"></script>
31 <script src="_static/doctools.js"></script>
32 <script src="_static/language_data.js"></script>
33
34 <script type="text/javascript" src="_static/js/theme.js"></script>
35
36
37 <link rel="index" title="Index" href="genindex.html" />
38 <link rel="search" title="Search" href="search.html" />
39 <link rel="copyright" title="Copyright" href="copyright.html" />
40 <link rel="next" title="libmemcachedutil API" href="libmemcachedutil/index.html" />
41 <link rel="prev" title="libmemcached Versioning" href="libmemcached/versioning.html" />
42 </head>
43
44 <body class="wy-body-for-nav">
45
46
47 <div class="wy-grid-for-nav">
48
49 <nav data-toggle="wy-nav-shift" class="wy-nav-side">
50 <div class="wy-side-scroll">
51 <div class="wy-side-nav-search" >
52
53
54
55 <a href="index.html" class="icon icon-home" alt="Documentation Home"> libmemcached
56
57
58
59 </a>
60
61
62
63
64 <div class="version">
65 1.0
66 </div>
67
68
69
70
71 <div role="search">
72 <form id="rtd-search-form" class="wy-form" action="search.html" method="get">
73 <input type="text" name="q" placeholder="Search docs" />
74 <input type="hidden" name="check_keywords" value="yes" />
75 <input type="hidden" name="area" value="default" />
76 </form>
77 </div>
78
79
80 </div>
81
82
83 <div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
84
85
86
87
88
89
90 <p class="caption"><span class="caption-text">libmemcached</span></p>
91 <ul>
92 <li class="toctree-l1"><a class="reference internal" href="libmemcached.html">Introduction</a></li>
93 <li class="toctree-l1"><a class="reference internal" href="libmemcached/index.html">libmemcached API</a></li>
94 <li class="toctree-l1"><a class="reference internal" href="libmemcached/index_misc.html">Misc</a></li>
95 </ul>
96 <p class="caption"><span class="caption-text">libmemcachedutil</span></p>
97 <ul class="current">
98 <li class="toctree-l1 current"><a class="current reference internal" href="#">Introduction</a></li>
99 <li class="toctree-l1"><a class="reference internal" href="libmemcachedutil/index.html">libmemcachedutil API</a></li>
100 </ul>
101 <p class="caption"><span class="caption-text">libhashkit</span></p>
102 <ul>
103 <li class="toctree-l1"><a class="reference internal" href="libhashkit.html">Introduction</a></li>
104 <li class="toctree-l1"><a class="reference internal" href="libhashkit/index.html">libhashkit API</a></li>
105 </ul>
106 <p class="caption"><span class="caption-text">Client Applications</span></p>
107 <ul>
108 <li class="toctree-l1"><a class="reference internal" href="bin/index.html">Client Applications</a></li>
109 </ul>
110 <p class="caption"><span class="caption-text">Copyright</span></p>
111 <ul>
112 <li class="toctree-l1"><a class="reference internal" href="copyright.html">Copyright</a></li>
113 </ul>
114
115
116
117 </div>
118
119 </div>
120 </nav>
121
122 <section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">
123
124
125 <nav class="wy-nav-top" aria-label="top navigation">
126
127 <i data-toggle="wy-nav-top" class="fa fa-bars"></i>
128 <a href="index.html">libmemcached</a>
129
130 </nav>
131
132
133 <div class="wy-nav-content">
134
135 <div class="rst-content">
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153 <div role="navigation" aria-label="breadcrumbs navigation">
154
155 <ul class="wy-breadcrumbs">
156
157 <li><a href="index.html" class="icon icon-home"></a> &raquo;</li>
158
159 <li>libmemcachedutil - C/C++ utilities extending libmemcached</li>
160
161
162 <li class="wy-breadcrumbs-aside">
163
164
165
166 </li>
167
168 </ul>
169
170
171 <hr/>
172 </div>
173 <div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
174 <div itemprop="articleBody">
175
176 <div class="section" id="libmemcachedutil-c-c-utilities-extending-libmemcached">
177 <h1>libmemcachedutil - C/C++ utilities extending libmemcached<a class="headerlink" href="#libmemcachedutil-c-c-utilities-extending-libmemcached" title="Permalink to this headline"></a></h1>
178 <p>Utility library for libmemcached</p>
179 <div class="section" id="synopsis">
180 <h2>SYNOPSIS<a class="headerlink" href="#synopsis" title="Permalink to this headline"></a></h2>
181 <dl class="simple">
182 <dt>#include &lt;libmemcachedutil-1.0/util.h&gt;</dt><dd><p>Compile and link with -lmemcachedutil -lmemcached</p>
183 </dd>
184 </dl>
185 </div>
186 <div class="section" id="description">
187 <h2>DESCRIPTION<a class="headerlink" href="#description" title="Permalink to this headline"></a></h2>
188 <p><code class="xref cpp cpp-any docutils literal notranslate"><span class="pre">libmemcachedutil</span></code> is a small and thread-safe client library that provides extra
189 functionality built on top of <code class="xref cpp cpp-any docutils literal notranslate"><span class="pre">libmemcached</span></code>.</p>
190 </div>
191 <div class="section" id="threads-and-processes">
192 <h2>THREADS AND PROCESSES<a class="headerlink" href="#threads-and-processes" title="Permalink to this headline"></a></h2>
193 <p>Do not try to access an instance of <a class="reference internal" href="libmemcached/memcached_create.html#_CPPv412memcached_st" title="memcached_st"><code class="xref cpp cpp-any docutils literal notranslate"><span class="pre">memcached_st</span></code></a> from multiple threads at the
194 same time. If you want to access memcached from multiple threads you should
195 either clone the <a class="reference internal" href="libmemcached/memcached_create.html#_CPPv412memcached_st" title="memcached_st"><code class="xref cpp cpp-any docutils literal notranslate"><span class="pre">memcached_st</span></code></a>, or use the memcached pool implementation. See
196 <a class="reference internal" href="libmemcachedutil/memcached_pool.html#_CPPv414memcached_poolPKc6size_t" title="memcached_pool"><code class="xref cpp cpp-any docutils literal notranslate"><span class="pre">memcached_pool()</span></code></a>.</p>
197 </div>
198 <div class="section" id="see-also">
199 <h2>SEE ALSO<a class="headerlink" href="#see-also" title="Permalink to this headline"></a></h2>
200 <ul class="simple">
201 <li><p><a class="reference internal" href="libmemcached.html"><span class="doc">C/C++ Client Library for memcached</span></a></p></li>
202 <li><p><a class="reference internal" href="libmemcachedutil/memcached_pool.html"><span class="doc">Working with memcached pools</span></a></p></li>
203 </ul>
204 </div>
205 </div>
206
207
208 </div>
209
210 </div>
211 <footer>
212
213 <div class="rst-footer-buttons" role="navigation" aria-label="footer navigation">
214
215 <a href="libmemcachedutil/index.html" class="btn btn-neutral float-right" title="libmemcachedutil API" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right"></span></a>
216
217
218 <a href="libmemcached/versioning.html" class="btn btn-neutral float-left" title="libmemcached Versioning" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left"></span> Previous</a>
219
220 </div>
221
222
223 <hr/>
224
225 <div role="contentinfo">
226 <p>
227
228
229 &copy; <a href="copyright.html">Copyright</a>
230
231 </p>
232 </div>
233
234
235
236 Built with <a href="http://sphinx-doc.org/">Sphinx</a> using a
237
238 <a href="https://github.com/rtfd/sphinx_rtd_theme">theme</a>
239
240 provided by <a href="https://readthedocs.org">Read the Docs</a>.
241
242 </footer>
243
244 </div>
245 </div>
246
247 </section>
248
249 </div>
250
251
252 <script type="text/javascript">
253 jQuery(function () {
254 SphinxRtdTheme.Navigation.enable(true);
255 });
256 </script>
257
258
259
260
261
262
263 </body>
264 </html>