Home | History | Annotate | Download | only in test

Lines Matching refs:block_func

35 # block_func must guarantee to block until trigger_func is called, and

36 # trigger_func must guarantee to change queue state so that block_func can make
37 # enough progress to return. In particular, a block_func that just raises an
40 # undiagnosed for years. Now block_func must be unexceptional. If block_func
46 def do_blocking_test(self, block_func, block_args, trigger_func, trigger_args):
49 self.result = block_func(*block_args)
50 # If block_func returned before our thread made the call, we failed!
53 block_func)
60 # Call this instead if block_func is supposed to raise an exception.
61 def do_exceptional_blocking_test(self,block_func, block_args, trigger_func,
67 block_func(*block_args)