Fix header comment for waitForConditionOrInterruptUntil

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 7.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Execution Team 2023-03-06
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The comment says:

           * If the operation deadline expires or the operation is interrupted, throws a DBException.  If
           * the given "deadline" expires, returns cv_status::timeout. Otherwise, returns
           * cv_status::no_timeout indicating that "pred" finally returned true.
           */
          template <typename LockT, typename PredicateT>
          bool waitForConditionOrInterruptUntil(stdx::condition_variable& cv,
                                                LockT& m,
                                                Date_t finalDeadline,
                                                PredicateT pred) {
      

      But the function returns a boolean.

            Assignee:
            Louis Williams
            Reporter:
            Louis Williams
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: