Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
19 years ago

diference between vfork() and fork()

hi,

I know that in µClinux, the standard system call "fork()" were replaced by "vfork()"

I want to know why ? and what diference between them ?

best regards

1 Reply

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    sdhnain,

    fork() requires an MMU...uCLinux is for MMU-less processors. vfork() is similar to fork(), except that it blocks the parent.

    Just google "uCLinux fork" and you'll get plenty of useful results.

    Cheers,

    - slacker