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