test_thread
waiting for all tasks to complete
all tasks done

*** Barrier Test ***
all tasks done

*** Changing thread stack size ***
caught expected ValueError setting stack_size(4096)
successfully set stack_size(262144)
successfully set stack_size(1048576)
successfully set stack_size(0)
trying stack_size = 262144
waiting for all tasks to complete
all tasks done
trying stack_size = 1048576
waiting for all tasks to complete
all tasks done
