@should_dump_thread_stack
def start_thread_stack_dump():
 dump_data_every_thread(dump_thread_stack, DELAY_MINUTES, SAVE_THREAD_PTR)

@ should_dump_thread_stack def start_thread_stack_dump ( ) : dump_data_every_thread ( dump_thread_stack , DELAY_MINUTES , SAVE_THREAD_PTR )
if the environment variable w3af_thread_activity is set to 1 .