指针 数组 互相转换

数组转指针 pthread_t threads[maxThread]; threadArry = (int*)threads; 指针使用数组中的值 for (int i = 0; i < maxThread; i++) { pthread_exit(&(threadArry[i])); }