IT/IT ::Linux
pthread_self()의 리턴값.. 음수가 나오는 문제
골든
2013. 7. 23. 18:03
id값이 크기 때문에
%ld나 %d의 값을 넘어서게 된다.
printf("%lu\n", pthread_self());
%lu로 출력하면된다.