Adds asio library and Storage Module

This commit is contained in:
Suraxius committed 2020-12-01 22:41:04 +01:00
1 parent 79a6ee5779
commit 30439acd43
4869 files changed
+618801 -903

No files matched your search

@@ -0,0 +1,51 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>io_context::work::~work</title>
<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
<link rel="home" href="../../../index.html" title="Asio">
<link rel="up" href="../io_context__work.html" title="io_context::work">
<link rel="prev" href="work/overload2.html" title="io_context::work::work (2 of 2 overloads)">
<link rel="next" href="../io_service.html" title="io_service">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr><td valign="top"><img alt="asio C++ library" width="250" height="60" src="../../../asio.png"></td></tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="work/overload2.html"><img src="../../../prev.png" alt="Prev"></a><a accesskey="u" href="../io_context__work.html"><img src="../../../up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../home.png" alt="Home"></a><a accesskey="n" href="../io_service.html"><img src="../../../next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h4 class="title">
<a name="asio.reference.io_context__work._work"></a><a class="link" href="_work.html" title="io_context::work::~work">io_context::work::~work</a>
</h4></div></div></div>
<p>
<a class="indexterm" name="asio.indexterm.io_context__work._work"></a>
Destructor notifies
the <a class="link" href="../io_context.html" title="io_context"><code class="computeroutput">io_context</code></a>
that the work is complete.
</p>
<pre class="programlisting">~work();
</pre>
<p>
The destructor is used to inform the <a class="link" href="../io_context.html" title="io_context"><code class="computeroutput">io_context</code></a>
that some work has finished. Once the count of unfinished work reaches
zero, the <a class="link" href="../io_context.html" title="io_context"><code class="computeroutput">io_context</code></a>
object's <code class="computeroutput">run()</code> function is permitted to exit.
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2020 Christopher M.
Kohlhoff<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="work/overload2.html"><img src="../../../prev.png" alt="Prev"></a><a accesskey="u" href="../io_context__work.html"><img src="../../../up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../home.png" alt="Home"></a><a accesskey="n" href="../io_service.html"><img src="../../../next.png" alt="Next"></a>
</div>
</body>
</html>
@@ -0,0 +1,45 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>io_context::work::get_io_context</title>
<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
<link rel="home" href="../../../index.html" title="Asio">
<link rel="up" href="../io_context__work.html" title="io_context::work">
<link rel="prev" href="../io_context__work.html" title="io_context::work">
<link rel="next" href="work.html" title="io_context::work::work">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr><td valign="top"><img alt="asio C++ library" width="250" height="60" src="../../../asio.png"></td></tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="../io_context__work.html"><img src="../../../prev.png" alt="Prev"></a><a accesskey="u" href="../io_context__work.html"><img src="../../../up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../home.png" alt="Home"></a><a accesskey="n" href="work.html"><img src="../../../next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h4 class="title">
<a name="asio.reference.io_context__work.get_io_context"></a><a class="link" href="get_io_context.html" title="io_context::work::get_io_context">io_context::work::get_io_context</a>
</h4></div></div></div>
<p>
<a class="indexterm" name="asio.indexterm.io_context__work.get_io_context"></a>
Get
the <a class="link" href="../io_context.html" title="io_context"><code class="computeroutput">io_context</code></a>
associated with the work.
</p>
<pre class="programlisting">asio::io_context &amp; get_io_context();
</pre>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2020 Christopher M.
Kohlhoff<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="../io_context__work.html"><img src="../../../prev.png" alt="Prev"></a><a accesskey="u" href="../io_context__work.html"><img src="../../../up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../home.png" alt="Home"></a><a accesskey="n" href="work.html"><img src="../../../next.png" alt="Next"></a>
</div>
</body>
</html>
@@ -0,0 +1,55 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>io_context::work::work</title>
<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
<link rel="home" href="../../../index.html" title="Asio">
<link rel="up" href="../io_context__work.html" title="io_context::work">
<link rel="prev" href="get_io_context.html" title="io_context::work::get_io_context">
<link rel="next" href="work/overload1.html" title="io_context::work::work (1 of 2 overloads)">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr><td valign="top"><img alt="asio C++ library" width="250" height="60" src="../../../asio.png"></td></tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="get_io_context.html"><img src="../../../prev.png" alt="Prev"></a><a accesskey="u" href="../io_context__work.html"><img src="../../../up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../home.png" alt="Home"></a><a accesskey="n" href="work/overload1.html"><img src="../../../next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h4 class="title">
<a name="asio.reference.io_context__work.work"></a><a class="link" href="work.html" title="io_context::work::work">io_context::work::work</a>
</h4></div></div></div>
<p>
<a class="indexterm" name="asio.indexterm.io_context__work.work"></a>
Constructor notifies
the <a class="link" href="../io_context.html" title="io_context"><code class="computeroutput">io_context</code></a>
that work is starting.
</p>
<pre class="programlisting">explicit <a class="link" href="work/overload1.html" title="io_context::work::work (1 of 2 overloads)">work</a>(
asio::io_context &amp; io_context);
<span class="emphasis"><em>» <a class="link" href="work/overload1.html" title="io_context::work::work (1 of 2 overloads)">more...</a></em></span>
</pre>
<p>
Copy constructor notifies the <a class="link" href="../io_context.html" title="io_context"><code class="computeroutput">io_context</code></a>
that work is starting.
</p>
<pre class="programlisting"><a class="link" href="work/overload2.html" title="io_context::work::work (2 of 2 overloads)">work</a>(
const work &amp; other);
<span class="emphasis"><em>» <a class="link" href="work/overload2.html" title="io_context::work::work (2 of 2 overloads)">more...</a></em></span>
</pre>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2020 Christopher M.
Kohlhoff<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="get_io_context.html"><img src="../../../prev.png" alt="Prev"></a><a accesskey="u" href="../io_context__work.html"><img src="../../../up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../home.png" alt="Home"></a><a accesskey="n" href="work/overload1.html"><img src="../../../next.png" alt="Next"></a>
</div>
</body>
</html>
@@ -0,0 +1,51 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>io_context::work::work (1 of 2 overloads)</title>
<link rel="stylesheet" href="../../../../boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
<link rel="home" href="../../../../index.html" title="Asio">
<link rel="up" href="../work.html" title="io_context::work::work">
<link rel="prev" href="../work.html" title="io_context::work::work">
<link rel="next" href="overload2.html" title="io_context::work::work (2 of 2 overloads)">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr><td valign="top"><img alt="asio C++ library" width="250" height="60" src="../../../../asio.png"></td></tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="../work.html"><img src="../../../../prev.png" alt="Prev"></a><a accesskey="u" href="../work.html"><img src="../../../../up.png" alt="Up"></a><a accesskey="h" href="../../../../index.html"><img src="../../../../home.png" alt="Home"></a><a accesskey="n" href="overload2.html"><img src="../../../../next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h5 class="title">
<a name="asio.reference.io_context__work.work.overload1"></a><a class="link" href="overload1.html" title="io_context::work::work (1 of 2 overloads)">io_context::work::work
(1 of 2 overloads)</a>
</h5></div></div></div>
<p>
Constructor notifies the <a class="link" href="../../io_context.html" title="io_context"><code class="computeroutput">io_context</code></a>
that work is starting.
</p>
<pre class="programlisting">work(
asio::io_context &amp; io_context);
</pre>
<p>
The constructor is used to inform the <a class="link" href="../../io_context.html" title="io_context"><code class="computeroutput">io_context</code></a>
that some work has begun. This ensures that the <a class="link" href="../../io_context.html" title="io_context"><code class="computeroutput">io_context</code></a>
object's <code class="computeroutput">run()</code> function will not exit while the work is
underway.
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2020 Christopher M.
Kohlhoff<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="../work.html"><img src="../../../../prev.png" alt="Prev"></a><a accesskey="u" href="../work.html"><img src="../../../../up.png" alt="Up"></a><a accesskey="h" href="../../../../index.html"><img src="../../../../home.png" alt="Home"></a><a accesskey="n" href="overload2.html"><img src="../../../../next.png" alt="Next"></a>
</div>
</body>
</html>
@@ -0,0 +1,51 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>io_context::work::work (2 of 2 overloads)</title>
<link rel="stylesheet" href="../../../../boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
<link rel="home" href="../../../../index.html" title="Asio">
<link rel="up" href="../work.html" title="io_context::work::work">
<link rel="prev" href="overload1.html" title="io_context::work::work (1 of 2 overloads)">
<link rel="next" href="../_work.html" title="io_context::work::~work">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr><td valign="top"><img alt="asio C++ library" width="250" height="60" src="../../../../asio.png"></td></tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="overload1.html"><img src="../../../../prev.png" alt="Prev"></a><a accesskey="u" href="../work.html"><img src="../../../../up.png" alt="Up"></a><a accesskey="h" href="../../../../index.html"><img src="../../../../home.png" alt="Home"></a><a accesskey="n" href="../_work.html"><img src="../../../../next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h5 class="title">
<a name="asio.reference.io_context__work.work.overload2"></a><a class="link" href="overload2.html" title="io_context::work::work (2 of 2 overloads)">io_context::work::work
(2 of 2 overloads)</a>
</h5></div></div></div>
<p>
Copy constructor notifies the <a class="link" href="../../io_context.html" title="io_context"><code class="computeroutput">io_context</code></a>
that work is starting.
</p>
<pre class="programlisting">work(
const work &amp; other);
</pre>
<p>
The constructor is used to inform the <a class="link" href="../../io_context.html" title="io_context"><code class="computeroutput">io_context</code></a>
that some work has begun. This ensures that the <a class="link" href="../../io_context.html" title="io_context"><code class="computeroutput">io_context</code></a>
object's <code class="computeroutput">run()</code> function will not exit while the work is
underway.
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2020 Christopher M.
Kohlhoff<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="overload1.html"><img src="../../../../prev.png" alt="Prev"></a><a accesskey="u" href="../work.html"><img src="../../../../up.png" alt="Up"></a><a accesskey="h" href="../../../../index.html"><img src="../../../../home.png" alt="Home"></a><a accesskey="n" href="../_work.html"><img src="../../../../next.png" alt="Next"></a>
</div>
</body>
</html>