c_function 프로그래밍/C 2024. 9. 18. [function] pthread_detach 함수 알아보기 📌 매뉴얼 (Linux)더보기NAME pthread_detach - detach a thread SYNOPSIS #include int pthread_detach(pthread_t thread); Compile and link with -pthread. DESCRIPTION The pthread_detach() function marks the thread identified by thread as detached. When a detached thread terminates, its resources are automatically released back to the system without the need for.. 프로그래밍/C 2024. 9. 7. [function] pthread_join 함수 알아보기 📌 매뉴얼 (Linux)더보기NAME pthread_join - join with a terminated thread SYNOPSIS #include int pthread_join(pthread_t thread, void **retval); Compile and link with -pthread. DESCRIPTION The pthread_join() function waits for the thread specified by thread to terminate. If that thread has already terminated, then pthread_join() returns immediately. The thread sp.. 프로그래밍/C 2024. 9. 7. [function] pthread_create 함수 알아보기 📌 매뉴얼 (Linux)더보기NAME pthread_create - create a new thread SYNOPSIS #include int pthread_create(pthread_t *thread, const pthread_attr_t *attr, void *(*start_routine) (void *), void *arg); Compile and link with -pthread. DESCRIPTION The pthread_create() function starts a new thread in the calling process. The new thread starts execution by invoking start_routin.. 프로그래밍/C 2024. 6. 13. [function] waitpid 함수 알아보기 📌 매뉴얼 (Linux)더보기NAME waitpid - wait for process to change state: 프로세스가 상태를 변경할 때까지 기다리기SYNOPSIS #include #include pid_t waitpid(pid_t pid, int *wstatus, int options);DESCRIPTION All of these system calls are used to wait for state changes in a child of the calling process, and obtain information about the child whose state has changed. A state ch.. 프로그래밍/C 2024. 6. 9. [function] wait 함수 알아보기 📌 매뉴얼 (Linux)더보기NAME wait - wait for process to change state: 프로세스가 상태를 변경할 때까지 기다리기SYNOPSIS #include #include pid_t wait(int *wstatus);DESCRIPTION All of these system calls are used to wait for state changes in a child of the calling process, and obtain information about the child whose state has changed. A state change is considered to .. 프로그래밍/C 2024. 6. 7. [function] unlink 함수 알아보기 📌 매뉴얼 (Linux)더보기NAME unlink - delete a name and possibly the file it refers to: 이름과 파일을 삭제SYNOPSIS #include int unlink(const char *pathname); DESCRIPTION unlink() deletes a name from the filesystem. If that name was the last link to a file and no processes have the file open, the file is deleted and the space it was using is made available for r.. 이전 1 2 3 다음