|
Boost : |
Subject: Re: [boost] Boost API System or Library Calls ..
From: Rahul Mathur (srivmuk_at_[hidden])
Date: 2013-11-06 01:55:56
Actually, I am looking for having minimal usages of SYSTEM CALLS to lessen
CONTEXT SWITCHING. So, I wish to differentiate.
YES, Andrey Semashev until unless this is obvious or explicitly documented
one can't know.
Thanks
On Wed, Nov 6, 2013 at 11:38 AM, Andrey Semashev
<andrey.semashev_at_[hidden]>wrote:
> On Wed, Nov 6, 2013 at 9:23 AM, Rahul Mathur <srivmuk_at_[hidden]> wrote:
> > Out of curiosity, wish to know if BOOST ASIO calls like -
> >
> > boost::asio::read()
> > boost::asio::transfer_all()
> > boost::asio::write()
> >
> > BOOST LEXICAL calls like -
> > boost::lexical_cast<std::string>()
> >
> > BOOST POSIX TIME calls like -
> > boost::posix_time::microsec_clock::universal_time()
> > boost::posix_time::microsec_clock::ptime()
> >
> > are LIBRARY or SYSTEM calls.
> >
> > How to know which calls of BOOST are SYSTEM and LIBRARY calls?
>
> In general you cannot know which library APIs involve system calls
> (unless this is obvious or explicitly documented). Even if the library
> only uses STL, there is no guarantee STL does not involve system
> calls.
>
> _______________________________________________
> Unsubscribe & other changes:
> http://lists.boost.org/mailman/listinfo.cgi/boost
>
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk