android cpp 创建线程

 
int pthread_create(pthread_t *restrict tidp, 
                   const pthread_attr_t *restrict attr, 
                   void *(*start_rtn)(void), 

                   void *restrict arg); 

第一个参数为指向线程标识符的指针。 
第二个参数用来设置线程属性。 
第三个参数是线程运行函数的起始地址。 
最后一个参数是运行函数的参数。

你可能感兴趣的:(android cpp 创建线程)