iv></div>
<p>
        More challenging is when the application&#8217;s main loop is embedded in some other
        library or framework. Such an application will typically, after performing
        all necessary setup, pass control to some form of <code class="computeroutput"><span class="identifier">run</span><span class="special">()</span></code> function from which control does not return
        until application shutdown.
      </p>
<p>
        A <a href="http://www.boost.org/doc/libs/release/libs/asio