class="indexterm" name="boost_asio.indexterm.basic_deadline_timer.get_io_service"></a> 
(Deprecated:
          Use <code class="computeroutput">get_executor()</code>.) Get the <a class="link" href="../io_context.html" title="io_context"><code class="computeroutput">io_context</code></a>
          associated with the object.
        </p>
<pre class="programlisting">boost::asio::io_context &amp; get_io_service();
</pre>
<p>
          This function may be used to obtain the <a class="link" href="../io_context.