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.
On Wed, Nov 6, 2013 at 11:38 AM, Andrey Semashev
> 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
> Unsubscribe & other changes:
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk