Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Class usduration

boost::interprocess::usduration

Synopsis

// In header: <boost/interprocess/timed_utils.hpp>


class usduration {
public:

  // public member functions
  ( = );
   () ;
   (usduration &) ;
   (usduration &) ;
   (usduration &) ;
   (usduration &) ;
};

Description

Describes a simple duration type with microsecond resolution that can be used with the ustime time-point utility to call timed functions of Boost.Interprocess' synchronization classes that expect a duration type (wait_for, lock_for...)

usduration public member functions

  1. ( microsecs = );

    Constructs a duration type that stores microseconds from the passed count

  2.  () ;

    Returns the stored microsecond count

  3.  (usduration & other) ;
  4.  (usduration & other) ;
  5.  (usduration & other) ;
  6.  (usduration & other) ;

PrevUpHomeNext