parameters: (self, printThird)
docstring: :type printThird: method
          :rtype: void
docstring_summary: :type printThird: method
          :rtype: void
docstring_tokens: : type printThird : method : rtype : void
function: def third(self, printThird):
          """
          :type printThird: method
          :rtype: void
          """
          with self.__cv:
              while not self.__has_second:
                  self.__cv.wait()
              # printThird() outputs "third". Do not change or remove this line.
              printThird()
              self.__cv.notifyAll()
function_tokens: def third ( self , printThird ) : with self . __cv : while not self . __has_second : self . __cv . wait ( ) # printThird() outputs "third". Do not change or remove this line. printThird ( ) self . __cv . notifyAll ( )