src/core/system-condition.h
changeset 5227 ecb08c1fc273
parent 3425 c69779f5e51e
equal deleted inserted replaced
5225:9c612cb88d6b 5227:ecb08c1fc273
    59   SystemCondition ();
    59   SystemCondition ();
    60   ~SystemCondition ();
    60   ~SystemCondition ();
    61 
    61 
    62   /**
    62   /**
    63    * Set the value of the underlying condition.
    63    * Set the value of the underlying condition.
       
    64    * \param condition value
    64    */
    65    */
    65   void SetCondition (bool condition);
    66   void SetCondition (bool condition);
    66 
    67 
    67   /**
    68   /**
    68    * Get the value of the underlying condition.
    69    * Get the value of the underlying condition.
    89   void Wait (void);
    90   void Wait (void);
    90 	
    91 	
    91   /**
    92   /**
    92    * Wait a maximum of ns nanoseconds for the condition to be true.  If the
    93    * Wait a maximum of ns nanoseconds for the condition to be true.  If the
    93    * wait times out, return true else return false.
    94    * wait times out, return true else return false.
       
    95    * \param ns maximum of nanoseconds to wait
    94    */
    96    */
    95   bool TimedWait (uint64_t ns);
    97   bool TimedWait (uint64_t ns);
    96 	
    98 	
    97 
    99 
    98 private:
   100 private: