thread study on iOS platform