I. syntax
#include <pthread.h>
int pthread detach(pthread_t th);실행중인 스레드를 분리 상태로 만든다.
II. return
성공하면 0, 실패하면 0이 아닌 값을 반환한다.
III. argument
pthread_t th: 메인 스레드에서 분리시킬 스레드 식별자
'컴퓨터 > C' 카테고리의 다른 글
| C strstr() (0) | 2022.11.23 | 
|---|---|
| C dup() (0) | 2022.11.23 | 
| C pthread_create() (6) | 2022.11.23 | 
| C process, thread 프로세스, 스레드 (0) | 2022.11.21 | 
| C exit() (0) | 2022.11.18 |