test_thread
waiting for all tasks to complete
all tasks done
*** Barrier Test ***
*** 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
trying stack_size = 1048576