Differences between version 4 and previous revision of fork(2).
Other diffs: Previous Major Revision, Previous Author, or view the Annotated Edit History
Newer page: | version 4 | Last edited on Tuesday, November 5, 2002 3:02:57 pm | by JohnMcPherson | Revert |
Older page: | version 3 | Last edited on Monday, November 4, 2002 12:52:15 pm | by JohnMcPherson | Revert |
@@ -64,7 +64,9 @@
}
}
return 0;
}
+
+Note that on a machine with a single [CPU], this will output large groups of "aaaaa...." followed by large groups of "bbbb..." as each process gets a timeslice. On a machine with more than one CPU, you might be more likely to see "a" and "b" interspersed in smaller units as both processes can run at the same time.
!!SEE ALSO
clone(2), execve(2), vfork(2), wait(2)