On Sun, May 03, 2015 at 05:47:02AM -0400, Cody P Schafer wrote: > > On Fri, May 1, 2015 at 7:35 AM, Martin Ling <martin-sig...@earth.li> wrote: > > > > What do you all think? > > It sounds fine to me. > > I suppose using OS specific impls rather than using libserialport's > generic event infra is to avoid the bit of overhead with using the > event infra?
Well, mostly just to avoid the overhead in lines of code on the user side - it's a bit cumbersome to set up an event set just to wait for RX on a single port, as you noted. Anyway, I've now written an implementation of the function if you'd like to have a look / give it a try. It's completely untested as yet: https://github.com/martinling/libserialport/commit/dfa04ba100fffaf77d48c9a8201ae3d3fc97e9e2 Martin ------------------------------------------------------------------------------ One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y _______________________________________________ sigrok-devel mailing list sigrok-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sigrok-devel