線程編譯問題(undefined reference to `pthread_create')

#include <stdio.h> #include <pthread.h> #include <stdlib.h> void printids(const char *s) { pid_t pid; pthread_t tid; pid = getpid(); tid = pthread_self(); pr
相關文章
相關標籤/搜索