Boost API System or Library Calls ..
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_caststd::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? Thanks.
On Wed, Nov 06, 2013 at 10:53:24AM +0530, Rahul Mathur wrote:
Irrelevant off-topical gibberish.
For the love of a relevant God... stop cross-posting. Read the clusterhugging private mail on etiquette I sent you in the past and STOP POSTING OFF-TOPIC CRAP TO BOOST@. PLEASE. Annoyingly yours, -- Lars Viklund
On Wed, Nov 6, 2013 at 9:23 AM, Rahul Mathur
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_caststd::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.
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
On Wed, Nov 6, 2013 at 9:23 AM, Rahul Mathur
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_caststd::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
participants (3)
-
Andrey Semashev
-
Lars Viklund
-
Rahul Mathur