2
를 앞서 pthread_create 올바른 인수 무엇입니까 나는 그들이 온라인으로 사용하고 있지 않은 것을 보았다. &
:나는 그들이 사용하고 하단에있는 예에서 <a href="http://man7.org/linux/man-pages/man3/pthread_create.3.html" rel="nofollow">pthread_create</a></p> <p>의 문서를 본
pthread_create(&tinfo[tnum].thread_id, &attr, thread_start, &tinfo[tnum]);
나는 또한 테스트를 거쳤으며 &
없이 작동합니다.
그러나 올바른 방법은 무엇입니까?