执行 gcc -o main main.c -lpthread 生成可执行文件，然后执行 sudo ./main





Execute gcc -o main main.c -lpthread to generate the executable file, and then execute sudo./main
