Getting a segmentation fault after a thread completes it's job

后端 未结 0 1937
感动是毒
感动是毒 2021-02-14 21:33
#include 
#include 

void *print_n(int);

int main()
{
    while (1)
    {
        pthread_t thread;

        if (pthread_create(&thr         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题