2010-03-03 2 views

답변

2

pthread_atfork()는 POSIX 스펙의 일부이므로 일반 pthread 라이브러리에 있어야합니다.

컴파일러 & 링커에서 pthread로 빌드 할 때 옵션을 지정해야 할 수도 있습니다. GCC/리눅스와 예를 들어 : 당신은 안드로이드 빌드하는 경우

-pthread 
     Adds support for multithreading with the pthreads library. This option sets flags for both the 
     preprocessor and linker. 
관련 문제