|
Boost : |
Subject: Re: [boost] Code to address requirement 7(a) of IOStreams Roadmap
From: Gene Panov (gene.panov_at_[hidden])
Date: 2013-10-14 20:32:15
Bjorn, it worked. Thank you!
https://code.google.com/p/async-ostream/
I implemented it so that is runs on the Asio background thread efficiently
-- I don't see any loss of speed in the numbers. Again, thanks for your
feedback!
Colleagues: does it now satisfy the requirements of 7(a) in IOStreams
Roadmap
https://svn.boost.org/trac/boost/wiki/IostreamsRoadmap
?
On Tue, Oct 8, 2013 at 5:25 AM, Bjorn Reese [via Boost] <
ml-node+s2283326n4652634h7_at_[hidden]> wrote:
> On 10/05/2013 03:50 PM, Gene Panov wrote:
> > But most importantly, formatting doesn't happen on the calling thread --
> it
> > happens on the background instead.
>
> Thank you for the explanation.
>
> Is there any way to use a Boost.Asio thread as the background thread?
> In other words, is it possible to write a async_ostream::service
> implementation that wraps a Boost.Asio io_service? My initial impression
> is that it is possible, but I am not sufficiently familiar with your
> codebase to be certain.
>
> On another note, you may consider using Boost.Chrono for time durations.
>
>
> _______________________________________________
> Unsubscribe & other changes:
> http://lists.boost.org/mailman/listinfo.cgi/boost
>
>
> ------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
>
> http://boost.2283326.n4.nabble.com/Code-to-address-requirement-7-a-of-IOStreams-Roadmap-tp4652450p4652634.html
> To unsubscribe from Code to address requirement 7(a) of IOStreams
> Roadmap, click here<http://boost.2283326.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4652450&code=Z2VuZS5wYW5vdkBnbWFpbC5jb218NDY1MjQ1MHwtMjI1NDc4NTYw>
> .
> NAML<http://boost.2283326.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>
-- View this message in context: http://boost.2283326.n4.nabble.com/Code-to-address-requirement-7-a-of-IOStreams-Roadmap-tp4652450p4653066.html Sent from the Boost - Dev mailing list archive at Nabble.com.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk