#NEWLINE# def decrement_eventually( self , n = 1 ) : #NEWLINE# #INDENT# 'Decrement the value, but do not update the channels QoS.\n\n        The MainThread will be responsible for calling :meth:`update`\n        when necessary.\n\n        ' #NEWLINE# with self . _mutex : #NEWLINE# #INDENT# if self . value : #NEWLINE# #INDENT# self . value -= n #NEWLINE# if ( n . value < 1 ) : #NEWLINE# #INDENT# self . value = 1 #NEWLINE# #UNINDENT# #UNINDENT# #UNINDENT# return self . value