Lines Matching full:argument
5 Otherwise, the queue contains 0 or more (function, argument) pairs
8 the first queue entry is removed and its function(argument) pair called,
39 def lock(self, function, argument):
40 """Lock a mutex, call the function with supplied argument
42 function and argument in the queue."""
44 function(argument)
46 self.queue.append((function, argument))
50 function with its argument."""
52 function, argument = self.queue.popleft()
53 function(argument)