1.Test the memory action
2.Move the thread attribute init variable to top of main function
3.Add thread recreate process.