Parcourir la source

[2332] added comments about missing pthread_cond_xxx variants

JINMEI Tatuya il y a 12 ans
Parent
commit
8c02f8a83f
1 fichiers modifiés avec 6 ajouts et 0 suppressions
  1. 6 0
      src/lib/util/threads/lock.h

+ 6 - 0
src/lib/util/threads/lock.h

@@ -153,6 +153,12 @@ private:
 /// Note that \c mutex passed to the \c wait() method must be the same one
 /// used to construct the \c locker.
 ///
+/// Right now there is no equivalent to pthread_cond_broadcast() or
+/// pthread_cond_timedwait() in this class, because this class is meant
+/// for internal development of BIND 10 and we don't need these at the
+/// moment.  If and when we need these interfaces they can be added at that
+/// point.
+///
 /// \note This class is defined as a friend class of \c Mutex and directly
 /// refers to and modifies private internals of the \c Mutex class.  It breaks
 /// the assumption that the lock is only acquired or released via the