pollmsg.c:(.text+0x839):对‘pthread_creat’未定义的引用
缺少lpthread该库支持
使用:hello-zhen@h:~$ gcc pollmsg.c -lpthread 编译成功