POSIX C pthread
안녕하세요. 앤디라이언입니다. pthread는 posix thread를 줄여서 표현하며, 유닉스 계열 시스템에서 일반적으로 사용하는 thread 관련 표준 API입니다. 쓰레드를 생성하기 위해서는 pthread_create 메서드를 사용합니다. //Create pthread int pthread_create(pthread_t *thread, const pthread_attr_t *attr, void *(*start_routine)(void*), void *arg); /*param *thread: 스레드 식별자 : 스레드가 성공적으로 생성되었을 때 생성된 스레드 식별을 위해 사용한다. *attr: 스레드의 특성을 지정하기 위해 사용, 기본 스레드 특성 사용하는 경우는 항상 NULL로 지정한다. start_..