URL details: hunj.github.io/blog/using_fork/

URL title: fork() 의 개념과 예제 – hunj::devlog
URL description: fork()를 사용하여 생성한 프로세스는 부모 프로세스 Parent process, 새로 생긴 프로세스는 자식 프로세스 Child process 라고 부른다. 모든 프로세스는 (참고: 최상위 프로세스인 init는 pid 1을 가진다) 생성될 때 프로세스 아이디를 부여받는다. fork() 함수를 이용해서 자식 프로세스를 생성할 수 있는데, 이 때 부모에게는 자식 프로세스의 pid를 반환하고, 자식에게는 0을 반환한다. 이를 이용하여 자식 프로세스에게 특정 명령을 시킬 수 있다.
URL last crawled: 2023-01-04
URL speed: 0.421 MB/s, downloaded in 0.040 seconds

open external url

We found no external links pointing to this url.